From 45859c9dfdafff638f50a56bcc0bd92b3d897e94 Mon Sep 17 00:00:00 2001 From: Dario Lodeiros Date: Mon, 24 Jun 2019 12:24:07 +0200 Subject: [PATCH] [FIX] Wizard avail call center --- hotel/wizard/wizard_reservation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotel/wizard/wizard_reservation.py b/hotel/wizard/wizard_reservation.py index f065a8e51..e91d04c2d 100644 --- a/hotel/wizard/wizard_reservation.py +++ b/hotel/wizard/wizard_reservation.py @@ -362,8 +362,8 @@ class HotelRoomTypeWizards(models.TransientModel): if date_min_days > min_stay: min_stay = date_min_days if user.has_group('hotel.group_hotel_call'): + max_avail = real_max if avail_restrictions: - max_avail = real_max restriction = avail_restrictions.filtered( lambda r: r.date == ndate_str) if restriction: