diff --git a/erpnext/patches/v11_0/redesign_healthcare_billing_work_flow.py b/erpnext/patches/v11_0/redesign_healthcare_billing_work_flow.py index f8ff015aca4..dc7ff137b56 100644 --- a/erpnext/patches/v11_0/redesign_healthcare_billing_work_flow.py +++ b/erpnext/patches/v11_0/redesign_healthcare_billing_work_flow.py @@ -15,6 +15,9 @@ def execute(): frappe.reload_doc('accounts', 'doctype', 'loyalty_program') frappe.reload_doc('accounts', 'doctype', 'sales_invoice_item') + if "healthcare" not in frappe.get_active_domains(): + return + healthcare_custom_field_in_sales_invoice() for si_ref_doc in sales_invoice_referenced_doc: if frappe.db.exists('DocType', si_ref_doc): diff --git a/erpnext/setup/doctype/company/company.json b/erpnext/setup/doctype/company/company.json index 96d11163f51..9a245e203ca 100644 --- a/erpnext/setup/doctype/company/company.json +++ b/erpnext/setup/doctype/company/company.json @@ -837,7 +837,7 @@ "label": "Create Chart Of Accounts Based On", "length": 0, "no_copy": 0, - "options": "\nStandard Template\nExisting Company\n\n\n", + "options": "\nStandard Template\nExisting Company", "permlevel": 0, "precision": "", "print_hide": 0, @@ -871,7 +871,7 @@ "label": "Chart Of Accounts Template", "length": 0, "no_copy": 1, - "options": "\n\n\n", + "options": "", "permlevel": 0, "precision": "", "print_hide": 0, @@ -2836,7 +2836,7 @@ "istable": 0, "max_attachments": 0, "menu_index": 0, - "modified": "2018-09-01 16:03:30.716918", + "modified": "2018-09-07 16:03:30.716918", "modified_by": "cave@aperture.com", "module": "Setup", "name": "Company",