mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-27 05:45:19 +00:00
perf: process_gl_map causing performance issues in the reposting
This commit is contained in:
@@ -548,7 +548,7 @@ class SubcontractingReceipt(SubcontractingController):
|
||||
gl_entries = []
|
||||
self.make_item_gl_entries(gl_entries, warehouse_account)
|
||||
|
||||
return process_gl_map(gl_entries)
|
||||
return process_gl_map(gl_entries, from_repost=frappe.flags.through_repost_item_valuation)
|
||||
|
||||
def make_item_gl_entries(self, gl_entries, warehouse_account=None):
|
||||
warehouse_with_no_account = []
|
||||
|
||||
Reference in New Issue
Block a user