mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 23:49:19 +00:00
Fixed rounding issue in subcontracting (#11802)
This commit is contained in:
@@ -202,7 +202,8 @@ class BuyingController(StockController):
|
||||
if not exists:
|
||||
rm = self.append(raw_material_table, {})
|
||||
|
||||
required_qty = flt(bom_item.qty_consumed_per_unit) * flt(item.qty) * flt(item.conversion_factor)
|
||||
required_qty = flt(flt(bom_item.qty_consumed_per_unit) * flt(item.qty) *
|
||||
flt(item.conversion_factor), rm.precision("required_qty"))
|
||||
rm.reference_name = item.name
|
||||
rm.bom_detail_no = bom_item.name
|
||||
rm.main_item_code = item.item_code
|
||||
|
||||
Reference in New Issue
Block a user