refactor: support for expense claim repost
(cherry picked from commit b651b36fff496a92713f634868a63a4ebe24f8c9)
This commit is contained in:
parent
1b83a91246
commit
37dbb4d3f9
@ -160,7 +160,7 @@ def start_repost(account_repost_doc=str) -> None:
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user