mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
minor fix
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user