diff --git a/nh_clinical/operations.py b/nh_clinical/operations.py index a4ab0eb1..5785cde2 100644 --- a/nh_clinical/operations.py +++ b/nh_clinical/operations.py @@ -354,7 +354,7 @@ def submit(self, cr, uid, activity_id, vals, context=None): if vals.get('location_id'): location_pool = self.pool['nh.clinical.location'] available_ids = location_pool.get_available_location_ids( - cr, uid, ['bed'], context=context) + cr, uid, ['ward', 'bed'], context=context) if vals['location_id'] not in available_ids: raise osv.except_osv( "Patient Placement Error!",