mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-19 18:25:32 +00:00
fix: Add patch to make custom fields
(cherry picked from commit 508832e90a)
# Conflicts:
# erpnext/patches.txt
This commit is contained in:
committed by
mergify-bot
parent
aa6caa00bf
commit
f5251b5a86
@@ -331,3 +331,9 @@ erpnext.patches.v13_0.requeue_failed_reposts
|
||||
erpnext.patches.v13_0.fetch_thumbnail_in_website_items
|
||||
erpnext.patches.v12_0.update_production_plan_status
|
||||
erpnext.patches.v13_0.update_category_in_ltds_certificate
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
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
|
||||
>>>>>>> 508832e90a (fix: Add patch to make 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()
|
||||
|
||||
Reference in New Issue
Block a user