fix: Linting Issue

This commit is contained in:
Deepesh Garg 2022-03-14 16:27:04 +05:30
parent b37559c535
commit 3cc2e53b08

View File

@ -130,7 +130,7 @@ def create_qr_code(doc, method=None):
def get_vat_amount(doc):
vat_settings = frappe.db.get_value('KSA VAT Setting', {'company': doc.company})
vat_accounts = []
vat_amount = 0
vat_amount = 0
if vat_settings:
vat_settings_doc = frappe.get_doc('KSA VAT Setting', vat_settings)