diff options
| author | Robot Odoo <xmo+roboto@odoo.com> | 2019-01-04 14:00:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-04 14:00:57 +0100 |
| commit | c2c5785940bfdd0eb620ba39ae3697ec63426915 (patch) | |
| tree | a503b6d3b5977a92c0e2215039fe84527922c57f /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | beb1a9dbd0f7a4323c93c7ac0058e13731490365 (diff) | |
| parent | b8197ff1784094a21f3df077e55bcdd23df157eb (diff) | |
[MERGE][REF] mail, various: rename and merge both tracking field parameters
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 commit we rename the
track_visibility parameter to tracking. Old parameter value is still supported
in mail for backward compatibility.
Commit ec35eca added sequence on tracking so that display of tracking values
is coherent through various chatter messages. To ease tracking configuration
it is merged with the tracking (old track_visibility) parameter. It means
tracking parameter can either be True (default sequence of 100) or an integer
giving the sequence to apply on the tracking.
Purpose of those changes is to simplify tracking configuration with studio
in mind. That way changing one parameter allow to customize the tracking of
fields in chatter.
Sequence field on mail.tracking.value model is renamed to tracking_sequence to
have a coherent namespace for tracking information. Tracking information on
ir.model.fields is also updated accordingly. To simplify manipulation boolean
value for tracking is automatically transformed into a sequence of 100.
All addons are updated accordingly.
This merge is linked to task ID 1903814 and PR #28430.
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
