brotherton-erpnext/erpnext/patches/v13_0/enable_ksa_vat_docs.py
2022-03-18 17:32:46 +05:30

12 lines
257 B
Python

import frappe
from erpnext.regional.saudi_arabia.setup import add_permissions, add_print_formats
def execute():
company = frappe.get_all('Company', filters = {'country': 'Saudi Arabia'})
if not company:
return
add_print_formats()
add_permissions()