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:
Ahmad 2021-09-14 14:26:44 +05:00 committed by GitHub
parent 69470fc15a
commit b5b61b3a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ def get_data(filters):
company = filters.get('company')
if frappe.db.exists('KSA VAT Setting', company) is None:
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
ksa_vat_setting = frappe.get_doc('KSA VAT Setting', company)