Odoo Help


How to update my module version automatically with git tags?

Daniel Blanco
on 3/21/15, 4:14 PM 903 views

Is there a standard way I could use to, for example when I execute "git tag" inject the name of the tag, or a composed name using the commit, (tag+'.'+commit) into the __openerp__.py code?

Obviously I could write a script, but wanted to know if there is some kind of good practice also.

This would be useful to change the modules version, keeping track of the eventual tag or commit.

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 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

1 follower(s)


Asked: 3/21/15, 4:14 PM
Seen: 903 times
Last updated: 3/21/15, 4:14 PM