[FIX] stock:True scrapped products in client log

lp bug: https://launchpad.net/bugs/797415 fixed

bzr revid: aag@tinyerp.co.in-20110616083812-qa1lcw154ozvod9j
This commit is contained in:
aag (OpenERP)
2011-06-16 14:08:12 +05:30
parent 2ed4fafe78
commit d7f10bb0e1
+1 -1
View File
@@ -2260,7 +2260,7 @@ class stock_move(osv.osv):
res += [new_move]
product_obj = self.pool.get('product.product')
for (id, name) in product_obj.name_get(cr, uid, [move.product_id.id]):
self.log(cr, uid, move.id, "%s x %s %s" % (move.product_qty, name, _("were scrapped")))
self.log(cr, uid, move.id, "%s x %s %s" % (quantity, name, _("were scrapped")))
self.action_done(cr, uid, res)
return res