How Can i update module list From terminal in
openerp and odoo(v8) ?
Is there any way to achieve this from terminal?
I want to update module list Without Using Webclient
You can create xml-file that calls ir.module.module objects update_list function. Like this:
<openerp>
<data>
<function model="ir.module.module" name="update_list"/>
</data>
</openerp>
Now if you add this xml-file to module data (like you would add any other view definition or other xml-files) that update_list function gets called every time you update this module.
For example you added this to a new module named "your_custom_module_updater", so now you can start odoo with:
./odoo.py -u your_custom_module_updater
and that module list should update every time from now on.
*note: you still need to manually update the list for your_custom_module_updater to install it :)
Update: By manipulating with ir_module_module table you can add, install, uninstall or upgrade the module
-->Module list will be updated automatically when you upgrade your module.
You can use like Command line interface
python openerp.py or odoo.py --db-filter=db_name -d db_name -u module list