refactor(UAE VAT 21): rename UAE VAT - UAE VAT 21
This commit is contained in:
parent
127fbfcb93
commit
79aca28453
@ -2,7 +2,7 @@
|
||||
// For license information, please see license.txt
|
||||
/* eslint-disable */
|
||||
|
||||
frappe.query_reports["UAE VAT"] = {
|
||||
frappe.query_reports["UAE VAT 21"] = {
|
||||
"filters": [
|
||||
{
|
||||
"fieldname": "company",
|
@ -12,11 +12,11 @@
|
||||
"modified": "2020-09-10 08:51:02.298482",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Regional",
|
||||
"name": "UAE VAT",
|
||||
"name": "UAE VAT 21",
|
||||
"owner": "Administrator",
|
||||
"prepared_report": 0,
|
||||
"ref_doctype": "GL Entry",
|
||||
"report_name": "UAE VAT",
|
||||
"report_name": "UAE VAT 21",
|
||||
"report_type": "Script Report",
|
||||
"roles": []
|
||||
}
|
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user