slow loading sickbed
parent
be2a43a37d
commit
7474718073
|
@ -33,9 +33,9 @@ class SickBed(Model):
|
||||||
"available": fields.Boolean("Available"),
|
"available": fields.Boolean("Available"),
|
||||||
'hd_cases': fields.One2Many("clinic.hd.case",'sickbed_id','HDCases'),
|
'hd_cases': fields.One2Many("clinic.hd.case",'sickbed_id','HDCases'),
|
||||||
'company_id': fields.Many2One("company","Company"),
|
'company_id': fields.Many2One("company","Company"),
|
||||||
'patient_id': fields.Many2One("clinic.patient","Lasted Patient",function="_get_all",function_multi=True,domain=[['state','=','admit']]),
|
#'patient_id': fields.Many2One("clinic.patient","Lasted Patient",function="_get_all",function_multi=True,domain=[['state','=','admit']]),
|
||||||
'image': fields.File("Image",function="_get_all",function_multi=True),
|
#'image': fields.File("Image",function="_get_all",function_multi=True),
|
||||||
'date': fields.Date("Lasted Date",function="_get_all",function_multi=True),
|
#'date': fields.Date("Lasted Date",function="_get_all",function_multi=True),
|
||||||
"state": fields.Selection([("available","Available"),("not_available","Not Available")],"Status"),
|
"state": fields.Selection([("available","Available"),("not_available","Not Available")],"Status"),
|
||||||
'sequence': fields.Integer("Sequence"),
|
'sequence': fields.Integer("Sequence"),
|
||||||
'note': fields.Text("Note"),
|
'note': fields.Text("Note"),
|
||||||
|
|
Loading…
Reference in New Issue