mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-12 17:51:20 +00:00
fix: don't use cached doc while reposting
(cherry picked from commit c436e30ee6)
This commit is contained in:
committed by
Ankush Menat
parent
636a6fcae0
commit
f4797ac5e3
@@ -135,7 +135,7 @@ def repost_entries():
|
|||||||
riv_entries = get_repost_item_valuation_entries()
|
riv_entries = get_repost_item_valuation_entries()
|
||||||
|
|
||||||
for row in riv_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)
|
repost(doc)
|
||||||
|
|
||||||
riv_entries = get_repost_item_valuation_entries()
|
riv_entries = get_repost_item_valuation_entries()
|
||||||
|
|||||||
Reference in New Issue
Block a user