[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:
Amit Bhavsar (Open ERP)
2012-07-11 16:08:22 +05:30
parent 6cbb04758a
commit 85ad7cf1c6
+1 -1
View File
@@ -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):