mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
Update erpnext/regional/report/ksa_vat/ksa_vat.py
String made translatable Co-authored-by: Saqib <nextchamp.saqib@gmail.com>
This commit is contained in:
@@ -50,7 +50,7 @@ def get_data(filters):
|
|||||||
company = filters.get('company')
|
company = filters.get('company')
|
||||||
if frappe.db.exists('KSA VAT Setting', company) is None:
|
if frappe.db.exists('KSA VAT Setting', company) is None:
|
||||||
url = get_url_to_list('KSA VAT Setting')
|
url = get_url_to_list('KSA VAT Setting')
|
||||||
frappe.msgprint(f'Create <a href="{url}">KSA VAT Setting</a> for this company')
|
frappe.msgprint(_('Create <a href="{}">KSA VAT Setting</a> for this company').format(url))
|
||||||
return data
|
return data
|
||||||
|
|
||||||
ksa_vat_setting = frappe.get_doc('KSA VAT Setting', company)
|
ksa_vat_setting = frappe.get_doc('KSA VAT Setting', company)
|
||||||
|
|||||||
Reference in New Issue
Block a user