Merge pull request #51368 from Ponnusamy1-V/error-when-reposting-on-background

fix: start reposting accounting ledger after commit
This commit is contained in:
ruthra kumar
2025-12-30 12:22:56 +05:30
committed by GitHub

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: