Create a new module and new class. After adding 2 variables in class, I tried to restart OpenERP server with following command :
Command : $./openerp-server -u <module_name> -d <db_name>
Example : $./openerp-server -u my_training -d training
Server got started but showed me following warning message on console :
Warning : invalid module names, ignored
Checked code and followed all necessary steps to check each and everything but was not getting any clue. After some time found a link and ran following command on console :
Command : $./openerp-server -u base -i <module_name> -d <db_name>
Example : $./openerp-server -u base -i my_training -d training
It worked. What this command will do is; it will install all the base modules and update your new module as well.
I feel like this solution is good but not the best. If someone else is having better one please don't hesitate to post as comments.
Thanks!!!!!! Enjoy Programming :)
Reference Link : https://www.odoo.com/forum/Help-1/question/is-Update-Module-List-from-command-line-possible-54578
Command : $./openerp-server -u <module_name> -d <db_name>
Example : $./openerp-server -u my_training -d training
Server got started but showed me following warning message on console :
Warning : invalid module names, ignored
Checked code and followed all necessary steps to check each and everything but was not getting any clue. After some time found a link and ran following command on console :
Command : $./openerp-server -u base -i <module_name> -d <db_name>
Example : $./openerp-server -u base -i my_training -d training
It worked. What this command will do is; it will install all the base modules and update your new module as well.
I feel like this solution is good but not the best. If someone else is having better one please don't hesitate to post as comments.
Thanks!!!!!! Enjoy Programming :)
Reference Link : https://www.odoo.com/forum/Help-1/question/is-Update-Module-List-from-command-line-possible-54578
Thanks I had the same problem and this worked.
ReplyDeleteGood to hear...
DeleteThanks for sharing, good work!You are probably using Odoo 11 by now. A lot of things were to discover when Open ERP changed its name to Odoo. Actually, the list of changes is quite impressive: https://mobilunity.com/blog/odoo-vs-openerp-comparison-of-these-systems/. That backward compatibility came really handy.
ReplyDelete