refactor(UAE VAT 21): rename UAE VAT - UAE VAT 21

This commit is contained in:
hasnain2808
2020-09-28 12:27:41 +05:30
parent 127fbfcb93
commit 79aca28453
6 changed files with 5 additions and 5 deletions

View File

@@ -130,10 +130,10 @@ def add_print_formats():
name in('Simplified Tax Invoice', 'Detailed Tax Invoice', 'Tax Invoice') """)
def add_custom_roles_for_reports():
if not frappe.db.get_value('Custom Role', dict(report='UAE VAT')):
if not frappe.db.get_value('Custom Role', dict(report='UAE VAT 21')):
frappe.get_doc(dict(
doctype='Custom Role',
report='UAE VAT',
report='UAE VAT 21',
roles= [
dict(role='Accounts User'),
dict(role='Accounts Manager'),