fix: create_raw_materials_supplied method not found

This commit is contained in:
Rohit Waghchaure
2026-06-11 14:54:45 +05:30
parent f0e51b35a6
commit d51ad0d19f
3 changed files with 3 additions and 3 deletions

View File

@@ -218,7 +218,7 @@ class PurchaseOrder(BuyingController):
if self.is_old_subcontracting_flow:
self.validate_bom_for_subcontracting_items()
self.create_raw_materials_supplied()
self.create_raw_materials_supplied_or_received()
self.validate_fg_item_for_subcontracting()

View File

@@ -4213,7 +4213,7 @@ def update_child_qty_rate(
if parent.is_old_subcontracting_flow:
if should_update_supplied_items(parent):
parent.update_reserved_qty_for_subcontract()
parent.create_raw_materials_supplied()
parent.create_raw_materials_supplied_or_received()
parent.save()
else:
if not parent.can_update_items():

View File

@@ -63,7 +63,7 @@ class BuyingController(SubcontractingController):
# sub-contracting
self.validate_for_subcontracting()
if self.get("is_old_subcontracting_flow"):
self.create_raw_materials_supplied()
self.create_raw_materials_supplied_or_received()
self.set_landed_cost_voucher_amount()
if self.doctype in ("Purchase Receipt", "Purchase Invoice"):