refactor!: Accounts Controller

This commit is contained in:
Sagar Sharma 2022-05-11 09:17:07 +05:30
parent 5fa3f58c06
commit 3469560105

View File

@ -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()