Odoo Help

Welcome!

This community 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.

4

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

By
Alexandre Fayolle - Camptocamp
on 2/5/13, 9:23 AM 1,163 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
2

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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