Odoo Help


How can I upgrade all modules for which the local version is more recent?

Alexandre Fayolle - Camptocamp
on 2/5/13, 9:23 AM 1,506 views

I would like a way of upgrading the modules for which the local version (as defined in openerp.py) is more recent than the one registered in the database.

I tend to upgrade that version number when I modify the module in a way that requires an upgrade to be taken into account (modified data files, modified columns in models...) and updating the base module can be very long and will do some unnecessary work.

Is there a secret way of doing this in OpenERP, or should I write something?

That would be a sane way to handle migration of modules.

Camptocamp SA, Guewen Baconnier - Software Developer, Camptocamp
on 2/5/13, 10:05 AM

well, there is no such existing features in openerp.

but if you made a modification in the code of a module, you can just open that module in openerp and click the 'upgrade' button.

Yes, of course. My use case is rather : I update 5 community addons branches to the latest head, and I would like to update only the modules requiring it, without checking which are installed and which are needing an upgrade.

Camptocamp France SAS, Alexandre Fayolle - Camptocamp
on 2/8/13, 3:22 PM

yes... so as i said: there is no such feature existing for the moment. If you don't wanna update the base module, you'll need to write a new algorithm for that.

Quentin De Paoli (qdp)
on 2/9/13, 8:18 AM

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/5/13, 9:23 AM
Seen: 1506 times
Last updated: 3/16/15, 8:10 AM