From 469a1ade79e060ab1282d0a878441087c36b882f Mon Sep 17 00:00:00 2001 From: Ponnusamy Date: Tue, 30 Dec 2025 01:43:45 +0530 Subject: [PATCH] fix: start reposting accounting ledger after commit --- .../doctype/repost_accounting_ledger/repost_accounting_ledger.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/repost_accounting_ledger/repost_accounting_ledger.py b/erpnext/accounts/doctype/repost_accounting_ledger/repost_accounting_ledger.py index 15ecf968b99..819ced1c911 100644 --- a/erpnext/accounts/doctype/repost_accounting_ledger/repost_accounting_ledger.py +++ b/erpnext/accounts/doctype/repost_accounting_ledger/repost_accounting_ledger.py @@ -146,6 +146,7 @@ class RepostAccountingLedger(Document): account_repost_doc=self.name, is_async=True, job_name=job_name, + enqueue_after_commit=True, ) frappe.msgprint(_("Repost has started in the background")) else: