multi co
parent
d3aaf9798d
commit
4800f88a6d
|
@ -51,7 +51,7 @@
|
||||||
<item string="Discontinue Patient" action="clinic_report_discontinue_patient"/>
|
<item string="Discontinue Patient" action="clinic_report_discontinue_patient"/>
|
||||||
</item>
|
</item>
|
||||||
<item string="Settings" perm="clinic_settings">
|
<item string="Settings" perm="clinic_settings">
|
||||||
<item string="Branches" action="clinic_branch"/>
|
<!--<item string="Branches" action="clinic_branch"/>-->
|
||||||
<item string="Departments" action="clinic_department"/>
|
<item string="Departments" action="clinic_department"/>
|
||||||
<item string="Hospitals" action="clinic_hospital"/>
|
<item string="Hospitals" action="clinic_hospital"/>
|
||||||
<item string="Nationalities" action="clinic_nation"/>
|
<item string="Nationalities" action="clinic_nation"/>
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
</head>
|
</head>
|
||||||
<field name="reg_date"/>
|
<field name="reg_date"/>
|
||||||
<field name="number"/>
|
<field name="number"/>
|
||||||
<!--<field name="hn_no"/>-->
|
|
||||||
<field name="trt_no"/>
|
<field name="trt_no"/>
|
||||||
<field name="name"/>
|
<field name="name"/>
|
||||||
|
<field name="company_id"/>
|
||||||
<field name="department_id"/>
|
<field name="department_id"/>
|
||||||
<field name="categ_id"/>
|
<field name="categ_id"/>
|
||||||
<field name="type_id"/>
|
<field name="type_id"/>
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
</top>
|
</top>
|
||||||
<field name="number"/>
|
<field name="number"/>
|
||||||
<field name="name"/>
|
<field name="name"/>
|
||||||
|
<field name="company_id"/>
|
||||||
<field name="department_id"/>
|
<field name="department_id"/>
|
||||||
<field name="level_id"/>
|
<field name="level_id"/>
|
||||||
<field name="categ_id"/>
|
<field name="categ_id"/>
|
||||||
|
|
|
@ -86,7 +86,7 @@ class Patient(Model):
|
||||||
'comorbilities': fields.One2Many("clinic.patient.comorbidity","patient_id","Comorbility"),
|
'comorbilities': fields.One2Many("clinic.patient.comorbidity","patient_id","Comorbility"),
|
||||||
'morbilities': fields.One2Many("clinic.patient.morbidity","patient_id","Morbility"),
|
'morbilities': fields.One2Many("clinic.patient.morbidity","patient_id","Morbility"),
|
||||||
"comments": fields.One2Many("message","related_id","Comments"),
|
"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"),
|
"visits": fields.One2Many("clinic.visit","patient_id","Visits"),
|
||||||
"hd_cases": fields.One2Many("clinic.hd.case","patient_id","HD Cases"),
|
"hd_cases": fields.One2Many("clinic.hd.case","patient_id","HD Cases"),
|
||||||
"partner_id": fields.Many2One("partner","Contact"),
|
"partner_id": fields.Many2One("partner","Contact"),
|
||||||
|
|
|
@ -96,7 +96,7 @@ class Staff(Model):
|
||||||
"comments": fields.One2Many("message","related_id","Comments"),
|
"comments": fields.One2Many("message","related_id","Comments"),
|
||||||
"nurse_visits": fields.One2Many("clinic.visit","nurse_id","Visits"),
|
"nurse_visits": fields.One2Many("clinic.visit","nurse_id","Visits"),
|
||||||
"doctor_visits": fields.One2Many("clinic.visit","doctor_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"),
|
"user_id": fields.Many2One("base.user","User"),
|
||||||
'image': fields.File("Image"),
|
'image': fields.File("Image"),
|
||||||
'note': fields.Text("Note"),
|
'note': fields.Text("Note"),
|
||||||
|
|
Loading…
Reference in New Issue