mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-23 16:48:30 +00:00
perf: don't try to match SLE if count mismatch
This commit is contained in:
@@ -960,6 +960,9 @@ def get_voucherwise_gl_entries(future_stock_vouchers, posting_date):
|
||||
return gl_entries
|
||||
|
||||
def compare_existing_and_expected_gle(existing_gle, expected_gle, precision):
|
||||
if len(existing_gle) != len(expected_gle):
|
||||
return False
|
||||
|
||||
matched = True
|
||||
for entry in expected_gle:
|
||||
account_existed = False
|
||||
|
||||
Reference in New Issue
Block a user