Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: setuptools-odoo: packaging multiple addons

by
Acsone SA/NV, Laurent Mignon
- 18/03/2017 08:36:45
Hi,

This is a know issue with setuptools >= 0.31.0.0 and odoo 10. You can take a look at https://github.com/acsone/setuptools-odoo/issues/10. A workkaround is described.

Regards,

lmi

On Sat, Mar 18, 2017 at 2:08 AM, Stephen Medina <StephenM@lsm.org> wrote:

Hello,


I am not able package multiple addons using setuptools-odoo as per the instructions in the documentation. Is the 'odoo' module is being hidden by the 'odoo.addons' namespace?


$ odoo --database=odootest
Traceback (most recent call last):
  File "/home/odoo/venv/bin/odoo", line 9, in <module>
    odoo.cli.main()
AttributeError: 'module' object has no attribute 'cli'

Packing a single module works fine. Has anyone tried this recently?


-Stephen

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe




--
Laurent Mignon
Senior software engineer

Tel: +352 20 21 10 20 32
Fax: +352 20 21 10 21
Email: laurent.mignon@acsone.eu

Acsone SA, Succursale de Luxembourg 
22, Zone Industrielle
​ ​
​| L-8287 Kehlen, Luxembourg
TVA LU24733605
​ | ​RCS B160400​

Acsone sa/nv
Boulevard de la Woluwe 56, b4  Woluwedal
​ | B-1200 Bruxelles - Brussel 
RPM Bruxelles 0835.207.216 RPR Brussel  




Reference