fix: patch regional fields for old companies (#24999)
* fix: patch regional fields for old companies * chore: fix sider
This commit is contained in:
parent
fe3529b194
commit
f29c075bc3
@ -759,3 +759,4 @@ erpnext.patches.v13_0.update_vehicle_no_reqd_condition
|
||||
erpnext.patches.v13_0.setup_fields_for_80g_certificate_and_donation
|
||||
erpnext.patches.v13_0.rename_membership_settings_to_non_profit_settings
|
||||
erpnext.patches.v13_0.setup_gratuity_rule_for_india_and_uae
|
||||
erpnext.patches.v13_0.setup_uae_vat_fields
|
||||
|
12
erpnext/patches/v13_0/setup_uae_vat_fields.py
Normal file
12
erpnext/patches/v13_0/setup_uae_vat_fields.py
Normal file
@ -0,0 +1,12 @@
|
||||
# Copyright (c) 2019, Frappe and Contributors
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
import frappe
|
||||
from erpnext.regional.united_arab_emirates.setup import setup
|
||||
|
||||
def execute():
|
||||
company = frappe.get_all('Company', filters = {'country': 'United Arab Emirates'})
|
||||
if not company:
|
||||
return
|
||||
|
||||
setup()
|
Loading…
x
Reference in New Issue
Block a user