fix: Commit before starting a patch (#33133)
Closes https://github.com/frappe/frappe/issues/33092
This commit is contained in:
parent
9e437cd071
commit
b63b00da34
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue