report_acc_hdcase_summary
watcha.h 2016-11-29 23:28:36 +07:00
parent fc4eb27a94
commit dab8603d7d
1 changed files with 3 additions and 3 deletions

View File

@ -128,7 +128,7 @@ class Patient(Model):
"weight": fields.Float("Weight (kg.)"),
"height": fields.Float("Height (cm.)"),
"card_type": fields.Selection([("identification","Identification"),("passport","Passport")],"Card Type"),
'card_no' : fields.Char("ID Card",size=13),
'card_no' : fields.Char("ID Card",size=13, search=True),
'card_exp' : fields.Date("Card Exp."),
"app_no": fields.Char("Application No."),
"salary": fields.Selection([["20000","5,001-20,000"],["50000","20,001-50,000"],["100000","50,001-100,000"],["100001","100,000+"]], "Salary"),
@ -168,14 +168,14 @@ class Patient(Model):
"documents": fields.One2Many("document","related_id","Documents"),
'resign_date': fields.Date("Dispose Date", search=True),
'rm_remain_visit': fields.Boolean("Auto Remove Remaining Visit"),
'department_id': fields.Many2One("clinic.department","Department",search=True),
'department_id': fields.Many2One("clinic.department","Main Department",search=True),
'cycle_id': fields.Many2One("clinic.cycle","Last Cycle",function="_get_last_cycle"),
'branch_id': fields.Many2One("clinic.branch","Branch",search=True),
'cycles': fields.One2Many("clinic.patient.cycle","patient_id", "Cycles"),
"vascular_acc": fields.Many2One("clinic.vascular.access","Vascular Ac."),
'state': fields.Selection([['admit','Admit'],['dispose','Dispose']],'State'),
'walkin': fields.Selection([['yes','Yes'],['no','No']],"Walkin"),
'location': fields.Char("Location"), #to filter
'location': fields.Char("Share Department"), #to filter
'cw_time': fields.DateTime("Cycle Updated"),
'cw_uid': fields.Many2One("base.user"," Cycle Edit"),
}