fix: start reposting accounting ledger after commit

This commit is contained in:
Ponnusamy
2025-12-30 01:43:45 +05:30
committed by ruthra-kumar
parent acb30dc6ac
commit 469a1ade79

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: