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

13 lines
256 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()