Friday, January 4, 2019
1 change · master
Code cleanup and technical improvements
This update renames the configuration used to track field changes across several Odoo apps, making the setting simpler and more consistent. Existing behavior remains compatible, so businesses should see no disruption while benefiting from cleaner, more maintainable tracking setup.
Original PR description
Track_visibility field parameter allows to track field changes in mail. Since commit c99de45 only updated values are tracked. Previously to that commit it was possible to have field values being…
Track_visibility field parameter allows to track field changes in mail. Since commit c99de45 only updated values are tracked. Previously to that commit it was possible to have field values being tracked whenever any other change occurred. This feature has been removed to simplify tracking and avoid having unnecessary values in the tracking table. In this merge we rename the track_visibility parameter to tracking and we make it a real boolean parameter. We also update all addons to use the new tracking parameter in some separate commits. Old parameter value is still supported in mail tracking mechanism for backward compatibility. Commit https://github.com/odoo/odoo/commit/ec35eca7c6b772139c8fa143b388ad1d936bc9ea added sequence on tracking so that display of tracking values is coherent through various chatter messages. To match the track_visibility renaming it is renamed to tracking_sequence to remain coherent. This merge is linked to task ID 1903814. This merge is linked to community PR https://github.com/odoo/odoo/pull/28430.