mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 07:29:22 +00:00
fix: Linting Issue
This commit is contained in:
@@ -130,7 +130,7 @@ def create_qr_code(doc, method=None):
|
|||||||
def get_vat_amount(doc):
|
def get_vat_amount(doc):
|
||||||
vat_settings = frappe.db.get_value('KSA VAT Setting', {'company': doc.company})
|
vat_settings = frappe.db.get_value('KSA VAT Setting', {'company': doc.company})
|
||||||
vat_accounts = []
|
vat_accounts = []
|
||||||
vat_amount = 0
|
vat_amount = 0
|
||||||
|
|
||||||
if vat_settings:
|
if vat_settings:
|
||||||
vat_settings_doc = frappe.get_doc('KSA VAT Setting', vat_settings)
|
vat_settings_doc = frappe.get_doc('KSA VAT Setting', vat_settings)
|
||||||
|
|||||||
Reference in New Issue
Block a user