minor fix

This commit is contained in:
Nabin Hait 2014-05-09 10:54:12 +05:30
parent 344f4436f1
commit 966edff222

View File

@ -248,7 +248,7 @@ class BuyingController(StockController):
rm.amount = required_qty * flt(bom_item.rate) rm.amount = required_qty * flt(bom_item.rate)
rm.idx = rm_supplied_idx rm.idx = rm_supplied_idx
if self.doc.doctype == "Purchase Receipt": if self.doctype == "Purchase Receipt":
rm.consumed_qty = required_qty rm.consumed_qty = required_qty
rm.description = bom_item.description rm.description = bom_item.description
if item.batch_no and not rm.batch_no: if item.batch_no and not rm.batch_no: