commit | b651b36fff496a92713f634868a63a4ebe24f8c9 | [log] [tgz] |
---|---|---|
author | ruthra kumar <ruthra@erpnext.com> | Tue Nov 07 11:10:42 2023 +0530 |
committer | ruthra kumar <ruthra@erpnext.com> | Tue Nov 07 11:59:33 2023 +0530 |
tree | c6a8841ad4874ed05bf81d59f4809affd339a10e | |
parent | 5a068410c6ff4bc4ac100098c712d09bb70854df [diff] |
refactor: support for expense claim repost
diff --git a/erpnext/accounts/doctype/repost_accounting_ledger/repost_accounting_ledger.py b/erpnext/accounts/doctype/repost_accounting_ledger/repost_accounting_ledger.py index 1d17a1c..8aaafd0 100644 --- a/erpnext/accounts/doctype/repost_accounting_ledger/repost_accounting_ledger.py +++ b/erpnext/accounts/doctype/repost_accounting_ledger/repost_accounting_ledger.py
@@ -160,7 +160,7 @@ doc.docstatus = 1 doc.make_gl_entries() - elif doc.doctype in ["Payment Entry", "Journal Entry"]: + elif doc.doctype in ["Payment Entry", "Journal Entry", "Expense Claim"]: if not repost_doc.delete_cancelled_entries: doc.make_gl_entries(1) doc.make_gl_entries()