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

12 lines
222 B
Python

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