mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 23:52:57 +00:00
fix: reload doc in patch (#25144)
This commit is contained in:
@@ -12,7 +12,10 @@ def execute():
|
||||
'Employee Tax Exemption Declaration',
|
||||
'Employee Tax Exemption Proof Submission',
|
||||
'Employee Tax Exemption Declaration Category',
|
||||
'Employee Tax Exemption Proof Submission Detail'
|
||||
'Employee Tax Exemption Proof Submission Detail',
|
||||
'gratuity_rule',
|
||||
'gratuity_rule_slab',
|
||||
'gratuity_applicable_component'
|
||||
]
|
||||
|
||||
for doctype in doctypes:
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
frappe.reload_doc('custom', 'doctype', 'custom_field')
|
||||
company = frappe.get_all('Company', filters = {'country': 'India'})
|
||||
if not company:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user