From 6720685885d2fc61a8d07f6558cd6e809a3088a4 Mon Sep 17 00:00:00 2001 From: Dario Lodeiros Date: Fri, 10 May 2019 12:44:59 +0200 Subject: [PATCH] [FIX] Readonly reservation lines date and wubook price --- hotel/views/hotel_reservation_views.xml | 2 +- .../views/inherited_hotel_reservation_views.xml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hotel/views/hotel_reservation_views.xml b/hotel/views/hotel_reservation_views.xml index 2334cddf0..0e0b223ed 100644 --- a/hotel/views/hotel_reservation_views.xml +++ b/hotel/views/hotel_reservation_views.xml @@ -294,7 +294,7 @@ type="action" icon="fa-bolt"/> - + {'readonly': [('is_from_ota','=',True),('able_to_modify_channel','=',False)]} - - {'readonly': [('is_from_ota','=',True),('able_to_modify_channel','=',False)]} + + {'readonly': [('parent.is_from_ota','=',True),('parent.able_to_modify_channel','=',False)]} + True