[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
This commit is contained in:
qmo-odoo
2021-04-01 15:22:45 +00:00
parent 6a37388ede
commit 0bb010d487
+1
View File
@@ -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')