refactor: remove explicit commit on repost

(cherry picked from commit a97b3db749b2850659c733d0cddebfc92fb38cb8)
This commit is contained in:
ruthra kumar 2023-12-12 10:34:51 +05:30 committed by Mergify
parent 64d93cec66
commit 122e6902ed

View File

@ -170,8 +170,6 @@ def start_repost(account_repost_doc=str) -> None:
doc.make_gl_entries(1)
doc.make_gl_entries()
frappe.db.commit()
def get_allowed_types_from_settings():
return [