fix patches for v7 sites (#12043)

This commit is contained in:
Faris Ansari
2017-12-15 16:49:11 +05:30
committed by Nabin Hait
parent 53e47e6ba5
commit c7b92b73a6
2 changed files with 4 additions and 0 deletions

View File

@@ -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}):