fix: patch
This commit is contained in:
parent
b5b8c5474a
commit
f6756838ba
@ -148,6 +148,7 @@ def create_healthcare_service_items():
|
||||
item.item_name = 'Consulting Charges'
|
||||
item.item_group = 'Services'
|
||||
item.is_stock_item = 0
|
||||
item.stock_uom = 'Nos'
|
||||
item.save()
|
||||
return item.name
|
||||
|
||||
|
@ -3,7 +3,11 @@ import frappe
|
||||
from erpnext.healthcare.setup import setup_patient_history_settings
|
||||
|
||||
def execute():
|
||||
if 'Healthcare' not in frappe.get_active_domains():
|
||||
if "Healthcare" not in frappe.get_active_domains():
|
||||
return
|
||||
|
||||
frappe.reload_doc("healthcare", "doctype", "Patient History Settings")
|
||||
frappe.reload_doc("healthcare", "doctype", "Patient History Standard Document Type")
|
||||
frappe.reload_doc("healthcare", "doctype", "Patient History Custom Document Type")
|
||||
|
||||
setup_patient_history_settings()
|
Loading…
x
Reference in New Issue
Block a user