Merge pull request #5800 from nabinhait/fix105

Patch fixed for expense claim type
This commit is contained in:
Nabin Hait 2016-07-20 12:17:15 +05:30 committed by GitHub
commit 430a97aeba

View File

@ -3,6 +3,7 @@ import frappe
def execute():
frappe.reload_doc("hr", "doctype", "expense_claim_type")
frappe.reload_doc("hr", "doctype", "expense_claim_account")
for expense_claim_type in frappe.get_all("Expense Claim Type", fields=["name", "default_account"]):
if expense_claim_type.default_account: