fix(patch): reload healthacre doctypes
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
This commit is contained in:
parent
2a966f26af
commit
102eb998ac
@ -1391,7 +1391,7 @@
|
||||
"issingle": 0,
|
||||
"istable": 0,
|
||||
"max_attachments": 50,
|
||||
"modified": "2018-10-09 22:09:39.849116",
|
||||
"modified": "2018-10-14 22:09:39.849116",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Healthcare",
|
||||
"name": "Patient",
|
||||
|
@ -53,6 +53,10 @@ def execute():
|
||||
change_healthcare_desktop_icons()
|
||||
|
||||
def change_healthcare_desktop_icons():
|
||||
doctypes = ["patient", "patient_encounter", "healthcare_practitioner",
|
||||
"patient_appointment", "lab_test"]
|
||||
for doctype in doctypes:
|
||||
frappe.reload_doc("healthcare", "doctype", doctype)
|
||||
for spec in change_icons_map:
|
||||
frappe.db.sql("""
|
||||
delete from `tabDesktop Icon`
|
||||
|
Loading…
x
Reference in New Issue
Block a user