odoo/upgrade#9225

Created by Fun Services, Prakash Prajapati (ppr)
Merged at be4c0776dbc95cf8ccb1421ecc00b389283c4b81

Statuses:

Linked pull requests
label
odoo-dev:master-field-tracking-poc-ppr
head
3d478bf9d62b89c9351c718bdecd8b65402b4804
merged
2 months ago by Marketing, Thibault Delavallee (tde)
odoo/odoo odoo/enterprise odoo/upgrade
master #235719 #99500 #9225

[IMP] mail/saas~19.3: add tracking values in message body

mail: Store tracking-related values directly in mail.message body instead of mail.tracking.value model to reduce DB size and improve performance.
mail tracking module: Move tracking-related fields, views,and records into the mail tracking module.
project: Store project stage duration in JSON format instead of tracking model, accumulating time across stage changes while minimizing stored data.
us payroll: Store time-off data in JSON format to support accurate leave balance calculation for payslips without relying on tracking model.
mrp: Add previous_date_start field in MO to replace tracking dependency when unplanning manufacturing orders.
helpdesk: Update helpdesk stage duration calculation to use company working hours instead of raw elapsed time (e.g., excluding non-working hours like lunch breaks).

This refactoring removes dependency on tracking models and centralizes historical and duration data into JSON/fields for better performance and maintainability.

Community PR: odoo/odoo#235719
Enterprise PR: odoo/enterprise#99500
Closes #9225
task-5260614