We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a79d294 commit 640c13aCopy full SHA for 640c13a
erpnext/accounts/doctype/repost_accounting_ledger/repost_accounting_ledger.py
@@ -181,7 +181,7 @@ def start_repost(account_repost_doc=str) -> None:
181
if not repost_doc.delete_cancelled_entries:
182
doc.make_gl_entries(1)
183
doc.make_gl_entries()
184
- else:
+ elif doc.doctype in frappe.get_hooks("repost_allowed_doctypes"):
185
if hasattr(doc, "make_gl_entries") and callable(doc.make_gl_entries):
186
187
if "cancel" in inspect.getfullargspec(doc.make_gl_entries):
0 commit comments