brotherton-erpnext/erpnext/patches/v13_0/create_ksa_vat_custom_fields.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
225 B
Python
Raw Normal View History

2021-11-08 12:16:24 +00:00
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()