commit | c436e30ee6895797abec3649e5f08b1003164b52 | [log] [tgz] |
---|---|---|
author | Ankush Menat <ankush@frappe.io> | Thu Nov 18 12:56:49 2021 +0530 |
committer | Ankush Menat <ankushmenat@gmail.com> | Mon Nov 22 12:40:18 2021 +0530 |
tree | 0c9279fa4988a9cbdd88ad2a0c2e70043f7dd8da | |
parent | aa024fc9da3e3f93baebb7ccf9ddf220c782157e [diff] |
fix: don't use cached doc while reposting
diff --git a/erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py b/erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py index 170aa7f..59d191f 100644 --- a/erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py +++ b/erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py
@@ -133,7 +133,7 @@ riv_entries = get_repost_item_valuation_entries() for row in riv_entries: - doc = frappe.get_cached_doc('Repost Item Valuation', row.name) + doc = frappe.get_doc('Repost Item Valuation', row.name) repost(doc) riv_entries = get_repost_item_valuation_entries()