From cf3089812ccd8e6911667068e5ea9dc749ed6ee3 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre <> Date: Wed, 30 May 2012 11:35:48 +0530 Subject: [PATCH] [FIX] I have improve the error message in procurement lp bug: https://launchpad.net/bugs/1005987 fixed bzr revid: rmu@tinyerp.com-20120530060548-ijkmbmufuchofvax --- addons/procurement/procurement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/procurement/procurement.py b/addons/procurement/procurement.py index 2263a441363..0e6b5440a9b 100644 --- a/addons/procurement/procurement.py +++ b/addons/procurement/procurement.py @@ -325,7 +325,7 @@ class procurement_order(osv.osv): for procurement in self.browse(cr, uid, ids, context=context): if procurement.product_qty <= 0.00: raise osv.except_osv(_('Data Insufficient !'), - _('Please check the quantity in procurement order(s), it should not be 0 or less!')) + _('Please check the quantity in procurement order(s) for the product "%s", it should not be 0 or less!' % procurement.product_id.name)) if procurement.product_id.type in ('product', 'consu'): if not procurement.move_id: source = procurement.location_id.id