mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] delete applied_on from calendar inherit hotel_reservation
This commit is contained in:
@@ -176,7 +176,6 @@ class HotelReservation(models.Model):
|
||||
rest_id = room_type_rest_obj.search([
|
||||
('room_type_id', '=', room_type.id),
|
||||
('date', '>=', ndate_str),
|
||||
('applied_on', '=', '0_room_type'),
|
||||
('restriction_id', '=', restriction_id)
|
||||
], limit=1)
|
||||
if rest_id and (rest_id.min_stay or rest_id.min_stay_arrival or
|
||||
|
||||
Reference in New Issue
Block a user