fix: do not add qty to supplied items
diff --git a/erpnext/controllers/subcontracting_controller.py b/erpnext/controllers/subcontracting_controller.py
index fc66345..fb1ed79 100644
--- a/erpnext/controllers/subcontracting_controller.py
+++ b/erpnext/controllers/subcontracting_controller.py
@@ -539,6 +539,9 @@
return serial_nos
def __add_supplied_item(self, item_row, bom_item, qty):
+ if bom_item.get("qty"):
+ bom_item.pop("qty")
+
bom_item.conversion_factor = item_row.conversion_factor
rm_obj = self.append(self.raw_material_table, bom_item)
if rm_obj.get("qty"):