diff options
| author | rpa (Open ERP) <rpa@tinyerp.com> | 2011-01-05 12:19:55 +0530 |
|---|---|---|
| committer | rpa (Open ERP) <rpa@tinyerp.com> | 2011-01-05 12:19:55 +0530 |
| commit | 283feb89fe5dad00878573caf3b562ecc3500a64 (patch) | |
| tree | e0c666a163d125c9792e3b4e949fcbe88a0da0cf | |
| parent | a1a93086852b1cdcbdba5f2e54027a80f00dfb4c (diff) | |
[FIX]: procurement: Fixed buidbot error
bzr revid: rpa@tinyerp.com-20110105064955-ii292r4kpbp68vbj
| -rw-r--r-- | addons/procurement/procurement.py | 5 |
1 files 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) |
