Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
On running sudo /usr/bin/openerp-server restart from my ubuntu 12.10, i get Traceback (most recent call last): File "/usr/bin/openerp-server", line 5, in <module> openerp.cli.main() File "/usr/lib/pymodules/python2.7/openerp/cli/__init__.py", line 51, in main __import__(m) File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 133, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/usr/lib/pymodules/python2.7/openerp/addons/account_asset/__init__.py", line 22, in <module> import account_asset File "/usr/lib/pymodules/python2.7/openerp/addons/account_asset/account_asset.py", line 28, in <module> from tools.translate import _ ImportError: No module named tools.translate
I solve this by adding openerp.tools.translate on this particular module. Since there are so many modules with no explicit module declaration e.g with "from osv import fields, osv" declaration in many modules, how can i avoid having to add "openerp.xxx" in them so that openerp restarts smoothly?
Hi. May you have an "overconfiguration" problem. Can you try to make a clean system install, and after to make the module install. I was a same problem before when: - I modified the addons modules directly, not inherited way - I hacking the database directly, sometimes delete some records by direct way - Some other modules install randomly, just for fun like module version 5.0 but the system is 6.1
So may be you have some similar situation, but this is just my opinion. :-)
Hi, I have face this problem too. The easiest way to solve this problem is, take the latest update by applying command at your server location
bzr pull & then revert the addons module by applying command
bzr revert.I am sure this will solve your problem. Let me know if you still get error.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/24/13, 8:47 PM|
|Seen: 2124 times|
|Last updated: 3/16/15, 8:10 AM|