[FIX]:lp-641084 Warning message wrongly indication
authorksa (Open ERP) <ksa@tinyerp.co.in>
Tue, 16 Nov 2010 10:27:13 +0000 (15:57 +0530)
committerksa (Open ERP) <ksa@tinyerp.co.in>
Tue, 16 Nov 2010 10:27:13 +0000 (15:57 +0530)
bzr revid: ksa@tinyerp.co.in-20101116102713-8883bt0dch5641hu

addons/stock/stock.py

index 0dccac8..ad7c98f 100644 (file)
@@ -1610,7 +1610,7 @@ class stock_move(osv.osv):
         warning = {}
         if (location.usage == 'internal') and (product_qty > (prodlot.stock_available or 0.0)):
             warning = {
-                'title': _('Bad Lot Assignation !'),
+                'title': _('Insufficient Stock in Lot !'),
                 'message': _('You are moving %.2f products but only %.2f available in this lot.') % (product_qty, prodlot.stock_available or 0.0)
             }
         return {'warning': warning}