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.
I created a new module. And clicking on the menu item, I got this error. Please what am I not getting and what do I do? Thank you for you help. Here is the full error:
File "/home/openerp/openerp/modules/registry.py", line 102, in __getitem__ return self.models[model_name] KeyError: u'my_object_name'
It might be that in your config file (openerp-server.conf), the addons path is not correctly set. Your module is not recognized by OpenERP. The module must be installed in the standard addons folder (with for example a symlink), or must be put in another folder, that was mentioned in the addons path, for example:
addons_path = /opt/openerp/addons,/opt/openerp/web/addons,/opt/openerp/custom/addons/
your custom modules should then be put in: /opt/openerp/custom/addons/
Note: make not the mistake to write /opt/openerp/custom/addons/my_custom_module
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: 8/1/13, 11:38 AM|
|Seen: 7660 times|
|Last updated: 4/30/15, 6:20 AM|