mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 01:34:10 +00:00
fix: start reposting accounting ledger after commit
(cherry picked from commit 469a1ade79)
This commit is contained in:
@@ -146,6 +146,7 @@ class RepostAccountingLedger(Document):
|
|||||||
account_repost_doc=self.name,
|
account_repost_doc=self.name,
|
||||||
is_async=True,
|
is_async=True,
|
||||||
job_name=job_name,
|
job_name=job_name,
|
||||||
|
enqueue_after_commit=True,
|
||||||
)
|
)
|
||||||
frappe.msgprint(_("Repost has started in the background"))
|
frappe.msgprint(_("Repost has started in the background"))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user