Fixed merge conflict

This commit is contained in:
Nabin Hait
2018-03-27 14:25:27 +05:30
19 changed files with 144 additions and 37 deletions

View File

@@ -81,7 +81,7 @@ def set_account_currency(filters):
if gle_currency:
account_currency = gle_currency
else:
account_currency = None if filters.party_type == "Employee" else \
account_currency = None if filters.party_type in ["Employee", "Student", "Shareholder"] else \
frappe.db.get_value(filters.party_type, filters.party, "default_currency")
filters["account_currency"] = account_currency or filters.company_currency