mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
Merge pull request #53878 from rohitwaghchaure/fixed-maintain-reposting-state
fix: maintain state during reposting
This commit is contained in:
@@ -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