From e6acdf36e2003d2110de29a4e0e5c7b0b10eb00a 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 (cherry picked from commit 469a1ade79e060ab1282d0a878441087c36b882f) --- .../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 e9e29d2cb31..0aeec6905eb 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: