From a49acd9fcadc6c0ed4bb39489ace3dd0c36f6315 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Mon, 17 Sep 2012 11:53:26 +0530 Subject: [PATCH] [IMP] stock: update warning message for stock in serial number bzr revid: cha@tinyerp.com-20120917062326-ony3gx9k2o871kq3 --- 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 31d5a68c9fe..9cdbc97c115 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -1804,8 +1804,8 @@ class stock_move(osv.osv): warning = {} if (location.usage == 'internal') and (product_qty > (amount_actual or 0.0)): warning = { - 'title': _('Insufficient Stock in Lot !'), - 'message': _('You are moving %.2f %s products but only %.2f %s available in this lot.') % (product_qty, uom.name, amount_actual, uom.name) + '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) } return {'warning': warning}