fix: Remove unintended changes

(cherry picked from commit a61790c00f)
This commit is contained in:
Deepesh Garg
2022-02-22 20:58:10 +05:30
committed by mergify-bot
parent e82f55ce9e
commit da1713ad00

View File

@@ -1955,7 +1955,8 @@ def update_bin_on_delete(row, doctype):
qty_dict["ordered_qty"] = get_ordered_qty(row.item_code, row.warehouse)
update_bin_qty(row.item_code, row.warehouse, qty_dict)
if row.warehouse:
update_bin_qty(row.item_code, row.warehouse, qty_dict)
def validate_and_delete_children(parent, data):
deleted_children = []