[doc] no hint on how to use db_version

Bug #1311175 reported by Christophe Combelles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP buildout recipe
Fix Released
Wishlist
Unassigned

Bug Description

Trying to use db_version, the documentation doesn't tell how to use it, particularly how to set it.
(it seems that there is a settable property that write the db)

Related branches

Revision history for this message
Christophe Combelles (ccomb) wrote :

the doc should also say that the upgrade script should end with a commit()

Revision history for this message
Georges Racinet (gracinet) wrote :

yes it's simply a settable property, but the obvious still needs to be documented somehow, you're right.

Revision history for this message
Georges Racinet (gracinet) wrote :

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

Changed in anybox.recipe.openerp:
milestone: none → 1.8.5
status: New → Fix Committed
Changed in anybox.recipe.openerp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.