mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-22 10:49:59 +00:00
perf: process_gl_map causing performance issues in the reposting
This commit is contained in:
@@ -638,7 +638,9 @@ class StockController(AccountsController):
|
||||
).format(wh, self.company)
|
||||
)
|
||||
|
||||
return process_gl_map(gl_list, precision=precision)
|
||||
return process_gl_map(
|
||||
gl_list, precision=precision, from_repost=frappe.flags.through_repost_item_valuation
|
||||
)
|
||||
|
||||
def get_debit_field_precision(self):
|
||||
if not frappe.flags.debit_field_precision:
|
||||
|
||||
Reference in New Issue
Block a user