fix: Remove reloading statements for non existing dts
This commit is contained in:
parent
95ab1a60b4
commit
5aeef088ad
2 changed files with 0 additions and 2 deletions
|
|
@ -8,7 +8,6 @@ def execute():
|
|||
frappe.reload_doc('integrations', 'doctype', 'google_contacts')
|
||||
frappe.reload_doc('contacts', 'doctype', 'contact')
|
||||
frappe.reload_doc('core', 'doctype', 'dynamic_link')
|
||||
frappe.reload_doc('communication', 'doctype', 'call_log')
|
||||
|
||||
contact_meta = frappe.get_meta("Contact")
|
||||
if contact_meta.has_field("phone_nos") and contact_meta.has_field("email_ids"):
|
||||
|
|
|
|||
|
|
@ -5,4 +5,3 @@ from frappe.model.rename_doc import rename_doc
|
|||
def execute():
|
||||
if frappe.db.exists("DocType","Google Maps") and not frappe.db.exists("DocType","Google Maps Settings"):
|
||||
rename_doc('DocType', 'Google Maps', 'Google Maps Settings')
|
||||
frappe.reload_doc('integrations', 'doctype', 'google_maps_settings')
|
||||
Loading…
Add table
Reference in a new issue