summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRucha (Open ERP) <rpa@tinyerp.com>2011-11-14 15:04:47 +0530
committerRucha (Open ERP) <rpa@tinyerp.com>2011-11-14 15:04:47 +0530
commitc4186fcbde00a33039017a6cafa0aeb768e85cfa (patch)
tree3eaa9c10c7d73854edc0d76f29c2b3d5739a39a2
parentf90e5ce97be97370a3c49b0e18959bab39078e62 (diff)
[FIX]: mrp: Fixed problem on producing product
bzr revid: rpa@tinyerp.com-20111114093447-jmt5tuvljn1ep627
-rw-r--r--addons/mrp/mrp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py
index 9a0f31de1a9..aa10a9ce427 100644
--- a/addons/mrp/mrp.py
+++ b/addons/mrp/mrp.py
@@ -731,7 +731,7 @@ class mrp_production(osv.osv):
# if qtys we have to consume is more than qtys available to consume
prod_name = scheduled.product_id.name_get()[0][1]
raise osv.except_osv(_('Warning!'), _('You are going to consume total %s quantities of "%s".\nBut you can consume upto total %s quantities.' % (qty, prod_name, qty_avail)))
- if qty < 0.0:
+ if qty <= 0.0:
# we already have more qtys consumed than we need
continue