diff --git a/netforce_clinic/models/sickbed.py b/netforce_clinic/models/sickbed.py index 693c414..fe209df 100644 --- a/netforce_clinic/models/sickbed.py +++ b/netforce_clinic/models/sickbed.py @@ -33,9 +33,9 @@ class SickBed(Model): "available": fields.Boolean("Available"), 'hd_cases': fields.One2Many("clinic.hd.case",'sickbed_id','HDCases'), 'company_id': fields.Many2One("company","Company"), - '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), - 'date': fields.Date("Lasted Date",function="_get_all",function_multi=True), + #'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), + #'date': fields.Date("Lasted Date",function="_get_all",function_multi=True), "state": fields.Selection([("available","Available"),("not_available","Not Available")],"Status"), 'sequence': fields.Integer("Sequence"), 'note': fields.Text("Note"),