changed description in production order, syntax fix in stock entry.py

This commit is contained in:
Anand Doshi
2012-12-20 13:57:43 +05:30
parent ab5cf08c14
commit 6c92a56cae
2 changed files with 17 additions and 13 deletions

View File

@@ -136,7 +136,7 @@ class DocType(TransactionBase):
+ _("Quantity already manufactured")
+ " = %s." % flt(pro_obj.doc.produced_qty)
+ _("Hence, maximum allowed Manufacturing Quantity")
+ " = %s." % flt(pro_obj.doc.qty) - flt(pro_obj.doc.produced_qty),
+ " = %s." % (flt(pro_obj.doc.qty) - flt(pro_obj.doc.produced_qty)),
raise_exception=1)
elif self.doc.purpose != "Material Transfer":
self.doc.production_order = None