fix: restore auto_commit_on_many_writes flag

(cherry picked from commit 66712fa8b5)
This commit is contained in:
Kavin
2025-09-22 19:31:27 +05:30
committed by Mergify
parent 0310172338
commit 53207821aa

View File

@@ -11,3 +11,5 @@ def execute():
if log.pos_closing_entry and frappe.db.exists("POS Closing Entry", log.pos_closing_entry):
company = frappe.db.get_value("POS Closing Entry", log.pos_closing_entry, "company")
frappe.db.set_value("POS Invoice Merge Log", log.name, "company", company)
frappe.db.auto_commit_on_many_writes = 0