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'm trying to have odoo update the list of modules from the addons directory because I created a new module.
I created the new module using the following command:
./odoo.py scaffold addons/module_name
I added an xml file to inherit a view, and added that file to the __openerp__.py
I went to my running instance, and went to Settings -> Update Module List. I got the following warning:
Warning - Cannot execute name_search, no _rec_name defined on base.module.update
and could not find my module in the list.
I tried the command listed here: https://www.odoo.com/forum/help-1/question/is-update-module-list-from-command-line-possible-54578
but I received another warning:
openerp.modules.loading: invalid module names, ignored: module_name
I've confirmed that I am typing the correct directory name for the module name.
I used the correct --addons-path variable when I ran the command line.
Does anyone have any other ideas on what I can do to make my module show up in the list?
I found out my error. I had edited the __openerp__.py file and there was a syntax error.
I forgot a comma after the line
should have been
I'm surprised that odoo didn't throw an error or an exception, but at least it's working!
Definitely start in Odoo is a small headache.
When you go to update a module verify that is not initiated the process of Odoo.
Ok you can use in the odoo file
And you can look at the list the commands of server. The second or third command is
-u UPDATE, --update=module
This is an example to use.
./openerp-server -u UPDATE, --update=nameOfYourModule -d nameOfDatabase
To upgrade all modules
./openerp-server -u UPDATE, --update=all -d nameOfDatabase
My personal example
./openerp-server -u UPDATE, --update=openacademy -d naro
You can use ./odoo.py instead of ./openerp-server I think it's the same.
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: 12/19/14, 8:23 AM|
|Seen: 3706 times|
|Last updated: 3/16/15, 8:10 AM|