From 2ad80397112d5fb8187fc3159434f4e8e52983b9 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Fri, 21 Sep 2012 15:38:50 +0530 Subject: [PATCH] [IMP] stock: update warning message for serial number bzr revid: cha@tinyerp.com-20120921100850-bvrgytvux9650tzp --- addons/stock/stock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index bbda0f468ca..c76c3dc5f67 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -1836,8 +1836,8 @@ class stock_move(osv.osv): warning = {} if (location.usage == 'internal') and (product_qty > (amount_actual or 0.0)): warning = { - 'title': _('Insufficient Stock in Serial Number !'), - 'message': _('You are moving %.2f %s products but only %.2f %s available in this serial number.') % (product_qty, uom.name, amount_actual, uom.name) + 'title': _('Insufficient Stock for Serial Number !'), + 'message': _('You are moving %.2f %s products but only %.2f %s available for this serial number.') % (product_qty, uom.name, amount_actual, uom.name) } return {'warning': warning}