projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01c15d9
)
[FIX]:lp-641084 Warning message wrongly indication
author
ksa (Open ERP)
<ksa@tinyerp.co.in>
Tue, 16 Nov 2010 10:27:13 +0000
(15:57 +0530)
committer
ksa (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
patch
|
blob
|
history
diff --git
a/addons/stock/stock.py
b/addons/stock/stock.py
index
0dccac8
..
ad7c98f
100644
(file)
--- a/
addons/stock/stock.py
+++ b/
addons/stock/stock.py
@@
-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}