fix: Dashboard for employee advance doctype

This commit is contained in:
deepeshgarg007 2019-12-15 21:21:31 +05:30
parent 40b7ac4987
commit b223dd95e2

View File

@ -0,0 +1,19 @@
from __future__ import unicode_literals
from frappe import _
def get_data():
return {
'fieldname': 'employee_advance',
'non_standard_fieldnames': {
'Payment Entry': 'reference_name',
'Journal Entry': 'reference_name'
},
'transactions': [
{
'items': ['Expense Claim']
},
{
'items': ['Payment Entry', 'Journal Entry']
}
]
}