db_version setting is automatic from VERSIONS.txt file cr.commit() is also automatic (in case of success only)
Just updated doc to state this explicitely : http://docs.anybox.fr/anybox.recipe.openerp/stable/scripts.html#upgrade-scripts, after the example and in the "about versions" note
db_version setting is automatic from VERSIONS.txt file
cr.commit() is also automatic (in case of success only)
Just updated doc to state this explicitely : http:// docs.anybox. fr/anybox. recipe. openerp/ stable/ scripts. html#upgrade- scripts, after the example and in the "about versions" note