Hi, You have to reference it in your module's __openerp__.py, in the "depends" section. I think you should not import it, rather call the pooler's get() method. Lionel Sausin
Le 17/10/2011 13:43, Viktor Nagy a écrit : > hi, > > in my server config file I've specified the addons_path as a list > > addons_path = > /home/akasha/versioning/bzr/openerp-6/addons/core,/home/akasha/versioning/bzr/openerp-6/addons/installed > > now I'm trying to install a module that would like to import > base_calendar, and the module install fails with ImportError of base > calendar > > File > "/home/akasha/versioning/bzr/openerp-6/addons/installed/base_report_to_printer/printing.py", > line 43, in <module> > from addons.base_calendar import base_calendar > ImportError: No module named base_calendar > > Could someone tell me how to properly import modules with a list > addons_path setting? > > thx > > > _______________________________________________ > Mailing list: https://launchpad.net/~openerp-community > Post to : [email protected] > Unsubscribe : https://launchpad.net/~openerp-community > More help : https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~openerp-community Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp

