patch: reloads newly created docs in v12 (#18148)
This commit is contained in:
parent
100af0a635
commit
29734dae18
@ -3,6 +3,8 @@ import frappe
|
||||
from erpnext.regional.india.setup import make_custom_fields
|
||||
|
||||
def execute():
|
||||
frappe.reload_doc("accounts", "doctype", "tax_category")
|
||||
frappe.reload_doc("stock", "doctype", "item_manufacturer")
|
||||
company = frappe.get_all('Company', filters = {'country': 'India'})
|
||||
if not company:
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user