mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 23:19:20 +00:00
fix(accounts): Validate gst accounts defined in GST Settings in eway bill report
This commit is contained in:
@@ -118,6 +118,9 @@ def set_taxes(row, filters):
|
|||||||
},
|
},
|
||||||
fields=account_list)
|
fields=account_list)
|
||||||
|
|
||||||
|
if not taxes_list:
|
||||||
|
frappe.throw(_("Please set GST Accounts in GST Settings"))
|
||||||
|
|
||||||
item_tax_rate = {}
|
item_tax_rate = {}
|
||||||
|
|
||||||
for tax in taxes:
|
for tax in taxes:
|
||||||
|
|||||||
Reference in New Issue
Block a user