Merge pull request #16465 from nabinhait/eway_bill

fix(accounts): Validate gst accounts defined in GST Settings in eway bill report
This commit is contained in:
Nabin Hait 2019-01-25 10:00:06 +05:30 committed by GitHub
commit 42462fac9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,6 +118,9 @@ def set_taxes(row, filters):
},
fields=account_list)
if not taxes_list:
frappe.throw(_("Please set GST Accounts in GST Settings"))
item_tax_rate = {}
for tax in taxes: