fix: payment reconciliation against expense claim (#17729)

* fix: payment reconciliation against expense claim

* feat: Added dashboard for expense claim
This commit is contained in:
Nabin Hait
2019-05-27 11:44:06 +05:30
committed by GitHub
parent 2d7993592f
commit 5cd04a6d30
4 changed files with 29 additions and 3 deletions

View File

@@ -333,6 +333,9 @@ def reconcile_against_document(args):
doc = frappe.get_doc(d.voucher_type, d.voucher_no)
doc.make_gl_entries(cancel = 0, adv_adj =1)
if d.voucher_type in ('Payment Entry', 'Journal Entry'):
doc.update_expense_claim()
def check_if_advance_entry_modified(args):
"""
check if there is already a voucher reference