From fa63adbc443ffe4c63889b1d6159328c2e475194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Lodeiros?= Date: Fri, 27 Nov 2020 22:23:42 +0100 Subject: [PATCH] [IMP] No store compute checkin_datetime --- pms/models/pms_reservation.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pms/models/pms_reservation.py b/pms/models/pms_reservation.py index c01237849..70bcf692a 100644 --- a/pms/models/pms_reservation.py +++ b/pms/models/pms_reservation.py @@ -315,10 +315,12 @@ class PmsReservation(models.Model): help="Default Departure Hour (HH:MM)", ) checkin_datetime = fields.Datetime( - "Exact Arrival", compute="_compute_checkin_datetime", store=True + "Exact Arrival", + compute="_compute_checkin_datetime", ) checkout_datetime = fields.Datetime( - "Exact Departure", compute="_compute_checkout_datetime", store=True + "Exact Departure", + compute="_compute_checkout_datetime", ) # TODO: As checkin_partner_count is a computed field, it can't not # be used in a domain filer Non-stored field