[IMP] stock: Make the name of backorder_id fields consistent (was wrong on moves)
authorNumerigraphe - Lionel Sausin <ls@numerigraphe.fr>
Fri, 24 Feb 2012 10:58:49 +0000 (11:58 +0100)
committerNumerigraphe - Lionel Sausin <ls@numerigraphe.fr>
Fri, 24 Feb 2012 10:58:49 +0000 (11:58 +0100)
bzr revid: ls@numerigraphe.fr-20120224105849-uuq67bo447yasncr

addons/stock/stock.py

index 885f7cd..d1cdf48 100644 (file)
@@ -1599,7 +1599,7 @@ class stock_move(osv.osv):
         'price_currency_id': fields.many2one('res.currency', 'Currency for average price', help="Technical field used to record the currency chosen by the user during a picking confirmation (when average price costing method is used)"),
         'company_id': fields.many2one('res.company', 'Company', required=True, select=True),
         'partner_id': fields.related('picking_id','address_id','partner_id',type='many2one', relation="res.partner", string="Partner", store=True, select=True),
-        'backorder_id': fields.related('picking_id','backorder_id',type='many2one', relation="stock.picking", string="Back Order", select=True),
+        'backorder_id': fields.related('picking_id','backorder_id',type='many2one', relation="stock.picking", string="Back Order of", select=True),
         'origin': fields.related('picking_id','origin',type='char', size=64, relation="stock.picking", string="Origin", store=True),
 
         # used for colors in tree views: