← Back to team overview

openerp-community team mailing list archive

Re: from addons import x and addons_path list

 

On 17-10-11 13:43, Viktor Nagy wrote:

Could someone tell me how to properly import modules with a list addons_path setting?


AFAIK all addons paths are in your path already, so it is easier than you think. The following is done in project_caldav/project_caldav.py (in trunk):

    from base_calendar import base_calendar

Cheers,
Stefan.


--
Therp - Maatwerk in open ontwikkeling

Stefan Rijnhart - Ontwerp en implementatie

mail: stefan@xxxxxxxx
tel: +31 (0) 614478606
http://therp.nl
https://twitter.com/therp_stefan



References