commit | 11207c4e562c565046e26e103c7af0e029ff5ea2 | [log] [tgz] |
---|---|---|
author | Ankush Menat <ankush@frappe.io> | Thu Oct 20 16:17:57 2022 +0530 |
committer | Ankush Menat <ankush@frappe.io> | Thu Oct 20 16:18:48 2022 +0530 |
tree | 3cbc9ecffe42ce17d9949a17ac6b33d9d4427f31 | |
parent | b88e850d55f6ced279990de5ff4995ef61b0ea0b [diff] |
fix: dont update item info twice [skip ci]
diff --git a/erpnext/stock/utils.py b/erpnext/stock/utils.py index c8ca8a8..b8c5187 100644 --- a/erpnext/stock/utils.py +++ b/erpnext/stock/utils.py
@@ -599,7 +599,7 @@ if batch_no_data: _update_item_info(batch_no_data) set_cache(batch_no_data) - return _update_item_info(batch_no_data) + return batch_no_data return {}