[IMP] stock: update warning message for serial number
authorAjay Chauhan (OpenERP) <cha@tinyerp.com>
Tue, 25 Sep 2012 06:26:57 +0000 (11:56 +0530)
committerAjay Chauhan (OpenERP) <cha@tinyerp.com>
Tue, 25 Sep 2012 06:26:57 +0000 (11:56 +0530)
bzr revid: cha@tinyerp.com-20120925062657-bz3ho9tx3oriuamy

addons/stock/stock.py

index 03d8a80..b5a6c74 100644 (file)
@@ -1839,7 +1839,7 @@ class stock_move(osv.osv):
         if (location.usage == 'internal') and (product_qty > (amount_actual or 0.0)):
             warning = {
                 '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)
+                'message': _('You are moving %.2f %s but only %.2f %s available for this serial number.') % (product_qty, uom.name, amount_actual, uom.name)
             }
         return {'warning': warning}