conv_bal
watcha.h@almacom.co.th 2015-01-14 15:06:19 +07:00
parent d3aaf9798d
commit 4800f88a6d
5 changed files with 5 additions and 4 deletions

View File

@ -51,7 +51,7 @@
<item string="Discontinue Patient" action="clinic_report_discontinue_patient"/>
</item>
<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="Hospitals" action="clinic_hospital"/>
<item string="Nationalities" action="clinic_nation"/>

View File

@ -4,9 +4,9 @@
</head>
<field name="reg_date"/>
<field name="number"/>
<!--<field name="hn_no"/>-->
<field name="trt_no"/>
<field name="name"/>
<field name="company_id"/>
<field name="department_id"/>
<field name="categ_id"/>
<field name="type_id"/>

View File

@ -9,6 +9,7 @@
</top>
<field name="number"/>
<field name="name"/>
<field name="company_id"/>
<field name="department_id"/>
<field name="level_id"/>
<field name="categ_id"/>

View File

@ -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"),

View File

@ -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"),