diff options
| author | Raphael Collet <rco@odoo.com> | 2019-02-20 12:40:48 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2020-04-07 09:25:08 +0000 |
| commit | 51c4e6e2fc17e0769dcd64b02010b901a8f7585e (patch) | |
| tree | d3cc77c5ea001e0dddd79cfbb81196e7252a7df5 /addons/gamification/models | |
| parent | 4e95c9b99961261fd76cd10ca052ee68e8dc8044 (diff) | |
[FIX] *: invalid parameter 'tracking' on non-mail-thread models
Diffstat (limited to 'addons/gamification/models')
| -rw-r--r-- | addons/gamification/models/goal.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/gamification/models/goal.py b/addons/gamification/models/goal.py index 3d528a5cab8..9a14a1438c3 100644 --- a/addons/gamification/models/goal.py +++ b/addons/gamification/models/goal.py @@ -153,9 +153,9 @@ class Goal(models.Model): "to generate goals with a value in this field.") start_date = fields.Date("Start Date", default=fields.Date.today) end_date = fields.Date("End Date") # no start and end = always active - target_goal = fields.Float('To Reach', required=True, tracking=True) + target_goal = fields.Float('To Reach', required=True) # no goal = global index - current = fields.Float("Current Value", required=True, default=0, tracking=True) + current = fields.Float("Current Value", required=True, default=0) completeness = fields.Float("Completeness", compute='_get_completion') state = fields.Selection([ ('draft', "Draft"), @@ -163,7 +163,7 @@ class Goal(models.Model): ('reached', "Reached"), ('failed', "Failed"), ('canceled', "Canceled"), - ], default='draft', string='State', required=True, tracking=True) + ], default='draft', string='State', required=True) to_update = fields.Boolean('To update') closed = fields.Boolean('Closed goal', help="These goals will not be recomputed.") |
