fix: reload doctype forcefully

This commit is contained in:
Ankush Menat 2021-11-10 19:04:37 +05:30 committed by Ankush Menat
parent b728597ef4
commit c96b5492db

View File

@ -5,6 +5,7 @@ from frappe.custom.doctype.custom_field.custom_field import create_custom_fields
def execute():
frappe.reload_doc('buying', 'doctype', 'supplier', force=True)
frappe.reload_doc('selling', 'doctype', 'customer', force=True)
frappe.reload_doc('core', 'doctype', 'doctype', force=True)
custom_fields = {
'Supplier': [