diff --git a/erpnext/patches/v8_0/create_domain_docs.py b/erpnext/patches/v8_0/create_domain_docs.py index cdd3117f76..47102871a1 100644 --- a/erpnext/patches/v8_0/create_domain_docs.py +++ b/erpnext/patches/v8_0/create_domain_docs.py @@ -10,6 +10,7 @@ def execute(): frappe.reload_doc("core", "doctype", "domain") frappe.reload_doc("core", "doctype", "domain_settings") frappe.reload_doc("core", "doctype", "has_domain") + frappe.reload_doc("core", "doctype", "role") for domain in ("Distribution", "Manufacturing", "Retail", "Services", "Education"): if not frappe.db.exists({"doctype": "Domain", "domain": domain}): diff --git a/erpnext/patches/v8_1/setup_gst_india.py b/erpnext/patches/v8_1/setup_gst_india.py index f329916ed5..a9133ae9a6 100644 --- a/erpnext/patches/v8_1/setup_gst_india.py +++ b/erpnext/patches/v8_1/setup_gst_india.py @@ -4,6 +4,9 @@ from frappe.email import sendmail_to_system_managers def execute(): frappe.reload_doc('stock', 'doctype', 'item') frappe.reload_doc("stock", "doctype", "customs_tariff_number") + frappe.reload_doc("hub_node", "doctype", "hub_category") + frappe.reload_doc("accounts", "doctype", "payment_terms_template") + frappe.reload_doc("accounts", "doctype", "payment_schedule") company = frappe.get_all('Company', filters = {'country': 'India'}) if not company: