fix: Add patch to make custom fields
This commit is contained in:
parent
c81d4734c4
commit
508832e90a
@ -309,3 +309,4 @@ erpnext.patches.v14_0.delete_healthcare_doctypes
|
||||
erpnext.patches.v13_0.update_category_in_ltds_certificate
|
||||
erpnext.patches.v13_0.create_pan_field_for_india #2
|
||||
erpnext.patches.v14_0.delete_hub_doctypes
|
||||
erpnext.patches.v13_0.create_ksa_vat_custom_fields
|
||||
|
12
erpnext/patches/v13_0/create_ksa_vat_custom_fields.py
Normal file
12
erpnext/patches/v13_0/create_ksa_vat_custom_fields.py
Normal file
@ -0,0 +1,12 @@
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user