From 0bb010d4873e1d1b8fc123ad310f16d38dc111e2 Mon Sep 17 00:00:00 2001 From: qmo-odoo Date: Wed, 17 Mar 2021 13:56:18 +0000 Subject: [PATCH] [IMP] calendar: Add tracking on active field This commit is needed for the enterprise PR linked below. It will be needed to notify followers if a calendar event gets cancelled (archived) LINKS: TaskID: #2223519 Community PR: odoo/odoo#68022 Enterprise PR:odoo/enterprise#17141 --- addons/calendar/models/calendar_event.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/calendar/models/calendar_event.py b/addons/calendar/models/calendar_event.py index 87cbf19cbe1..194ff6dfe3d 100644 --- a/addons/calendar/models/calendar_event.py +++ b/addons/calendar/models/calendar_event.py @@ -122,6 +122,7 @@ class Meeting(models.Model): # filtering active = fields.Boolean( 'Active', default=True, + tracking=True, help="If the active field is set to false, it will allow you to hide the event alarm information without removing it.") categ_ids = fields.Many2many( 'calendar.event.type', 'meeting_category_rel', 'event_id', 'type_id', 'Tags')