From 8957669dca01745b87f3eb832d11a5d2c386c2c7 Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Mon, 24 Sep 2012 17:14:20 +0530 Subject: [PATCH] [ADD] product : Improved the warning message. bzr revid: mdi@tinyerp.com-20120924114420-qy1lviihna6odv6e --- addons/product/pricelist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index 7cac03b6a5d..92c054b82bd 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -440,7 +440,7 @@ class product_pricelist_item(osv.osv): price_min_margin = vals.get('price_min_margin', 0.0) price_max_margin = vals.get('price_max_margin', 0.0) if price_min_margin > price_max_margin: - raise osv.except_osv(_('Warning!'), _('In \'%s\' pricelist rule, minimum margin must be lower than maximum margin !.') % (name)) + raise osv.except_osv(_('Warning!'), _('Minimum margin must be lower than maximum margin in \'%s\' pricelist rule !.') % (name)) return super(product_pricelist_item, self).write(cr, uid, ids, vals, context=context)