xxx
parent
a90c01c4d9
commit
df6c188c32
|
@ -1,8 +1,8 @@
|
|||
<search model="clinic.hd.case">
|
||||
<field name="number"/>
|
||||
<field name="time_start"/>
|
||||
<field name="time_stop"/>
|
||||
<field name="patient_id"/>
|
||||
<field name="date"/>
|
||||
<field name="cycle_id"/>
|
||||
<field name="state"/>
|
||||
<field name="patient_id"/>
|
||||
<field name="department_id"/>
|
||||
<field name="branch_id"/>
|
||||
</search>
|
||||
|
|
|
@ -9,10 +9,10 @@ class MakeAPTLine(Model):
|
|||
'patient_id': fields.Many2One("clinic.patient","Patient"),
|
||||
'mon_cycle_id': fields.Many2One("clinic.cycle","Monday"),
|
||||
'tue_cycle_id': fields.Many2One("clinic.cycle","Tuesday"),
|
||||
'wed_cycle_id': fields.Many2One("clinic.cycle","Wedsday"),
|
||||
'wed_cycle_id': fields.Many2One("clinic.cycle","Wednesday"),
|
||||
'thu_cycle_id': fields.Many2One("clinic.cycle","Thursday"),
|
||||
'fri_cycle_id': fields.Many2One("clinic.cycle","Friday"),
|
||||
'sat_cycle_id': fields.Many2One("clinic.cycle","Satherday"),
|
||||
'sat_cycle_id': fields.Many2One("clinic.cycle","Saturday"),
|
||||
'sun_cycle_id': fields.Many2One("clinic.cycle","Sunday"),
|
||||
'department_id': fields.Many2One("clinic.department","Department"),
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ class PatientCycle(Model):
|
|||
"patient_id": fields.Many2One('clinic.patient',"Patient",required=True,on_delete="cascade",search=True),
|
||||
"cycle_id": fields.Many2One('clinic.cycle',"Cycle",search=True),
|
||||
"department_id": fields.Many2One('clinic.department',"Department",search=True),
|
||||
'day': fields.Selection([('mon', 'Monday'), ('tue','Tuesday'), ('wed','Wedsday'),('thu','Thursday'),('fri','Friday'),('sat','Satherday'),('sun','Sunday')], 'Day',search=True),
|
||||
'day': fields.Selection([('mon', 'Monday'), ('tue','Tuesday'), ('wed','Wednesday'),('thu','Thursday'),('fri','Friday'),('sat','Saturday'),('sun','Sunday')], 'Day',search=True),
|
||||
}
|
||||
|
||||
PatientCycle.register()
|
||||
|
|
Loading…
Reference in New Issue