mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-15 23:54:59 +00:00
fix: restore auto_commit_on_many_writes flag
(cherry picked from commit 66712fa8b5)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user