fix: Commit before starting a patch (#33133)

Closes https://github.com/frappe/frappe/issues/33092
This commit is contained in:
Ankush Menat 2025-06-27 11:21:28 +05:30 committed by GitHub
parent 9e437cd071
commit b63b00da34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -176,7 +176,7 @@ def execute_patch(patchmodule: str, method=None, methodargs=None):
)
start_time = time.monotonic()
frappe.db.begin()
frappe.db.commit()
frappe.db.auto_commit_on_many_writes = 0
try:
if patchmodule: