fix: start reposting accounting ledger after commit

(cherry picked from commit 469a1ade79)
This commit is contained in:
Ponnusamy
2025-12-30 01:43:45 +05:30
committed by Mergify
parent 9ee40351c5
commit e6acdf36e2

View File

@@ -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: