From 3469560105d0e3fee72a90d7f24b10476e380dba Mon Sep 17 00:00:00 2001 From: Sagar Sharma Date: Wed, 11 May 2022 09:17:07 +0530 Subject: [PATCH] refactor!: Accounts Controller --- erpnext/controllers/accounts_controller.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py index 8a9318e184..1790a0e2ec 100644 --- a/erpnext/controllers/accounts_controller.py +++ b/erpnext/controllers/accounts_controller.py @@ -2586,10 +2586,6 @@ def update_child_qty_rate(parent_doctype, trans_items, parent_doctype_name, chil parent.update_ordered_qty() parent.update_ordered_and_reserved_qty() parent.update_receiving_percentage() - if parent.is_subcontracted: - parent.update_reserved_qty_for_subcontract() - parent.create_raw_materials_supplied("supplied_items") - parent.save() else: parent.update_reserved_qty() parent.update_project()