mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-03 05:28:27 +00:00
fix: maintain state during reposting
(cherry picked from commit f8738a791b)
This commit is contained in:
committed by
Mergify
parent
2907c411f3
commit
544c91441b
@@ -656,8 +656,8 @@ class update_entries_after:
|
|||||||
# To avoid duplicate reposting of same sle in case of multiple dependant sle
|
# To avoid duplicate reposting of same sle in case of multiple dependant sle
|
||||||
self.distinct_sles.add(sle.name)
|
self.distinct_sles.add(sle.name)
|
||||||
|
|
||||||
# if i % 1000 == 0:
|
if i % 1000 == 0:
|
||||||
self.update_data_in_repost(len(self._sles), i)
|
self.update_data_in_repost(len(self._sles), i)
|
||||||
|
|
||||||
def sort_sles(self, sles):
|
def sort_sles(self, sles):
|
||||||
return sorted(
|
return sorted(
|
||||||
|
|||||||
Reference in New Issue
Block a user