Side effect due to a combination of odoo/odoo#124182 making field_id not required to keep trackings when removing fields, and odoo/odoo@9c9552fd20 where field is used to find model when computing groups instead of message in case the tracking is logged on a model different from the field model e.g. accounting. Steps to reproduce: 1. Install project_enterprise in saas-16.4 2. Create a task and update some values for Date deadline 3. Upgrade to 17.0 4. Try to open the task in the upgraded DB. We get an error: ``` ValueError('All tracking value should belong to the same model.') ``` The reason is that `date_deadline` field is removed during the upgrade and thus `fields_models` is empty in https://github.com/odoo/odoo/blob/0649134444fa6b26de1c8c25d7c4a3f70c6d64e0/addons/mail/models/mail_tracking_value.py#L120-L121 closes odoo/odoo#156571 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>