Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MERGE][REF] mail, various: rename and merge both tracking field parameters #28430

Closed
wants to merge 2 commits into from

Commits on Jan 4, 2019

  1. [REF] mail: rename and merge tracking-related parameters

    Track_visibility field parameter allows to track field changes in mail. Since
    commit odoo@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 odoo@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.
    
    This commit is linked to task ID 1903814 and PR odoo#28430.
    tde-banana-odoo committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    e3768d8 View commit details
    Browse the repository at this point in the history
  2. [REF] various: update tracking parameters

    Purpose is to clean the use of tracking parameters on fields. Parameters are
    merged and is now tracking=<int> or tracking=True.
    
    This commit is linked to task ID 1903814 and PR odoo#28430.
    tde-banana-odoo committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    21d6be7 View commit details
    Browse the repository at this point in the history