From 5b16b211adb2dae02e5fc851970393d6c8226a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com> Date: Thu, 4 Nov 2021 15:36:17 +0100 Subject: [PATCH] Remove default values for computed fields --- models/calendar.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/models/calendar.py b/models/calendar.py index a9808bf..b7f26a6 100644 --- a/models/calendar.py +++ b/models/calendar.py @@ -36,12 +36,10 @@ class CalendarEvent(models.Model): string="Tâche liée") is_transfered = fields.Boolean( string='Transféré', - compute='_compute_is_transfered', - default=False) + compute='_compute_is_transfered') is_attendee = fields.Boolean( string='Est participant', - compute='_compute_is_attendee', - default=False) + compute='_compute_is_attendee') # ------------------------------------------------------ # Compute -- GitLab