[IMP] stock: Make the name of backorder_id fields consistent (was wrong on moves)
bzr revid: ls@numerigraphe.fr-20120224105849-uuq67bo447yasncr
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user