Anonymous
Anonymous

Reputation: 307

Update Module List odoo

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

Upvotes: 1

Views: 7430

Answers (4)

Toon
Toon

Reputation: 9

In odoo V9 Activate developer mode. Click on your username in upper right corner > About > Activate Developer mode Update modules/apps list Main menu > Apps > Update apps list

Upvotes: -1

Rutul Raval
Rutul Raval

Reputation: 313

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.

Upvotes: 1

Haresh Shyara
Haresh Shyara

Reputation: 1886

You can update all module list from the terminal using:

./openerp-server -u all -d dbname --addons-path=addons/

Upvotes: 1

Prashant
Prashant

Reputation: 704

You can use like Command line interface

python openerp.py or odoo.py --db-filter=db_name -d db_name -u module list

Upvotes: 0

Related Questions