From 283feb89fe5dad00878573caf3b562ecc3500a64 Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Wed, 5 Jan 2011 12:19:55 +0530 Subject: [PATCH] [FIX]: procurement: Fixed buidbot error bzr revid: rpa@tinyerp.com-20110105064955-ii292r4kpbp68vbj --- addons/procurement/procurement.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/addons/procurement/procurement.py b/addons/procurement/procurement.py index 66856663733..3257f0a5694 100644 --- a/addons/procurement/procurement.py +++ b/addons/procurement/procurement.py @@ -370,10 +370,9 @@ class procurement_order(osv.osv): if not res and not ok: message = _("Not enough stock and no minimum orderpoint rule defined.") elif not res: - message = _("No minimum orderpoint rule defined for '%s'.") % \ - (procurement.move_id.product_id.name,) + message = _("No minimum orderpoint rule defined.") elif not ok: - message = _("Not enough stock for '%s'.") % (procurement.move_id.product_id.name,) + message = _("Not enough stock.") if message: self.log(cr, uid, procurement.id, _("Procurement '%s' is in exception: ") % (procurement.name) + message)