[FIX] stock : Fixes the problem of Insufficient info at move from the picklist(dropdown).
lp bug: https://launchpad.net/bugs/1005812 fixed bzr revid: amb@tinyerp.com-20120711103822-5rn1xx22v9j1fsls
This commit is contained in:
@@ -1576,7 +1576,7 @@ class stock_move(osv.osv):
|
||||
def name_get(self, cr, uid, ids, context=None):
|
||||
res = []
|
||||
for line in self.browse(cr, uid, ids, context=context):
|
||||
res.append((line.id, (line.product_id.code or '/')+': '+line.location_id.name+' > '+line.location_dest_id.name))
|
||||
res.append((line.id, (line.picking_id.origin or '/')+ ' ' +(line.product_id.code or '/')+': '+line.location_id.name+' > '+line.location_dest_id.name))
|
||||
return res
|
||||
|
||||
def _check_tracking(self, cr, uid, ids, context=None):
|
||||
|
||||
Reference in New Issue
Block a user