diff --git a/netforce_clinic/layouts/clinic_menu.xml b/netforce_clinic/layouts/clinic_menu.xml index 3408af3..dc5a29d 100644 --- a/netforce_clinic/layouts/clinic_menu.xml +++ b/netforce_clinic/layouts/clinic_menu.xml @@ -51,7 +51,7 @@ - + diff --git a/netforce_clinic/layouts/clinic_patient_list.xml b/netforce_clinic/layouts/clinic_patient_list.xml index 6fe1baa..5dd7515 100644 --- a/netforce_clinic/layouts/clinic_patient_list.xml +++ b/netforce_clinic/layouts/clinic_patient_list.xml @@ -4,9 +4,9 @@ - + diff --git a/netforce_clinic/layouts/clinic_staff_list.xml b/netforce_clinic/layouts/clinic_staff_list.xml index c2b84b8..1674a3e 100644 --- a/netforce_clinic/layouts/clinic_staff_list.xml +++ b/netforce_clinic/layouts/clinic_staff_list.xml @@ -9,6 +9,7 @@ + diff --git a/netforce_clinic/models/patient.py b/netforce_clinic/models/patient.py index cbb4ca2..ffc08c8 100644 --- a/netforce_clinic/models/patient.py +++ b/netforce_clinic/models/patient.py @@ -86,7 +86,7 @@ class Patient(Model): 'comorbilities': fields.One2Many("clinic.patient.comorbidity","patient_id","Comorbility"), 'morbilities': fields.One2Many("clinic.patient.morbidity","patient_id","Morbility"), "comments": fields.One2Many("message","related_id","Comments"), - "company_id": fields.Many2One("company","Company"), + "company_id": fields.Many2One("company","Company",search=True), "visits": fields.One2Many("clinic.visit","patient_id","Visits"), "hd_cases": fields.One2Many("clinic.hd.case","patient_id","HD Cases"), "partner_id": fields.Many2One("partner","Contact"), diff --git a/netforce_clinic/models/staff.py b/netforce_clinic/models/staff.py index 53a3b2b..3807da0 100644 --- a/netforce_clinic/models/staff.py +++ b/netforce_clinic/models/staff.py @@ -96,7 +96,7 @@ class Staff(Model): "comments": fields.One2Many("message","related_id","Comments"), "nurse_visits": fields.One2Many("clinic.visit","nurse_id","Visits"), "doctor_visits": fields.One2Many("clinic.visit","doctor_id","Visits"), - "company_id": fields.Many2One("company","Company"), + "company_id": fields.Many2One("company","Company",search=True), "user_id": fields.Many2One("base.user","User"), 'image': fields.File("Image"), 'note': fields.Text("Note"),