I'm using openerp without installation - just running it from source:
- get openobject-server, openobject-addons and openerp-web from launchpad
- place to /opt/openerp/
- add to path to config file addons_path = /opt/openerp/openobject-addons/,/opt/openerp/openerp-web/addons/
- start openerp server with my config
All works
But now I want to install new addon (aeroo reports):
- get aeroo sources
- place to /opt/openerp/
- change config addons_path = /opt/openerp/openobject-addons/,/opt/openerp/openerp-web/addons/,/opt/openerp/aeroo/
It doesn't work
File "/opt/openerp/aeroo/report_aeroo/check_deps.py", line 33, in <module>
from osv import osv
ImportError: No module named osv
Same thing when I try to run it from sources under windows (using eclipse+pydev)
How can I make it see modules without changing code?
from osv -> from openerp.osv
from tools -> from openerp.tools
Not first time I see module with import without leading 'openerp.'
How can i fix it ?