This question has been flagged
1 Reply
5056 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?

Avatar
Discard

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

Best Answer

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.

Avatar
Discard
Author

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.

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.