mirror of
https://github.com/frappe/erpnext.git
synced 2026-11-17 23:36:24 +00:00
fix: commit after each batch in serial and batch bundle posting datetime patch
This commit is contained in:
@@ -8,6 +8,7 @@ def execute():
|
||||
last_name = ""
|
||||
while names := get_bundle_names(last_name):
|
||||
set_posting_datetime(names)
|
||||
frappe.db.commit()
|
||||
last_name = names[-1]
|
||||
|
||||
drop_indexes()
|
||||
|
||||
Reference in New Issue
Block a user