Hello guys, how can I write a patch to load the custom_fields.json schema before run any script?
I’ve tried the following:
my_patch.py
def execute():
frappe.reload_doc('selling', 'doctype', 'sales_order')
set_values()
Hello guys, how can I write a patch to load the custom_fields.json schema before run any script?
I’ve tried the following:
my_patch.py
def execute():
frappe.reload_doc('selling', 'doctype', 'sales_order')
set_values()