mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
refactor: support for expense claim repost
(cherry picked from commit b651b36fff)
This commit is contained in:
@@ -160,7 +160,7 @@ def start_repost(account_repost_doc=str) -> None:
|
|||||||
doc.docstatus = 1
|
doc.docstatus = 1
|
||||||
doc.make_gl_entries()
|
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:
|
if not repost_doc.delete_cancelled_entries:
|
||||||
doc.make_gl_entries(1)
|
doc.make_gl_entries(1)
|
||||||
doc.make_gl_entries()
|
doc.make_gl_entries()
|
||||||
|
|||||||
Reference in New Issue
Block a user