mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 15:09:20 +00:00
perf: process_gl_map causing performance issues in the reposting
(cherry picked from commit a96fa55704)
# Conflicts:
# erpnext/stock/doctype/stock_entry/stock_entry.py
This commit is contained in:
committed by
Mergify
parent
2c44e4ec2c
commit
af7dc363e1
@@ -663,7 +663,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