mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-29 17:11:33 +02:00
Merge pull request #17681 from rohitwaghchaure/expense_claim_reconciliation_issue
fix: payment reconciliation not update the status of the expense claim
This commit is contained in:
@@ -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 == 'Payment Entry':
|
||||
doc.update_expense_claim()
|
||||
|
||||
def check_if_advance_entry_modified(args):
|
||||
"""
|
||||
check if there is already a voucher reference
|
||||
|
||||
13
erpnext/hr/doctype/expense_claim/expense_claim_dashboard.py
Normal file
13
erpnext/hr/doctype/expense_claim/expense_claim_dashboard.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from __future__ import unicode_literals
|
||||
from frappe import _
|
||||
|
||||
def get_data():
|
||||
return {
|
||||
'fieldname': 'reference_name',
|
||||
'transactions': [
|
||||
{
|
||||
'label': _('Payment'),
|
||||
'items': ['Payment Entry']
|
||||
},
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user