From 85ad7cf1c606a4f49272bcfd2fed85a140ad73fe Mon Sep 17 00:00:00 2001 From: "Amit Bhavsar (Open ERP)" Date: Wed, 11 Jul 2012 16:08:22 +0530 Subject: [PATCH] [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 --- addons/stock/stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index a279b8bea6c..da18a7fb280 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -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):