diff options
| author | David Beguin <dbe@odoo.com> | 2019-10-31 16:21:30 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-11-22 14:45:39 +0000 |
| commit | be3f074a910a76275ebaa576dc57f9b72f5ad4ae (patch) | |
| tree | 4eb6bf32e9cc05f0590cc2d2741dccdd373a0923 /addons/gamification/models/challenge.py | |
| parent | 6f0d36fa67c91d0bd70cf092bd1d41c615e1e8be (diff) | |
[REF] gamification, * : rename challenge.category into challenge.challenge_category
To ease grep in the code, especially that challenge is quite heavily used.
Task ID : 1961053
PR #32594
Diffstat (limited to 'addons/gamification/models/challenge.py')
| -rw-r--r-- | addons/gamification/models/challenge.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/gamification/models/challenge.py b/addons/gamification/models/challenge.py index 72103f89205..ad932dddc31 100644 --- a/addons/gamification/models/challenge.py +++ b/addons/gamification/models/challenge.py @@ -123,7 +123,7 @@ class Challenge(models.Model): last_report_date = fields.Date("Last Report Date", default=fields.Date.today) next_report_date = fields.Date("Next Report Date", compute='_get_next_report_date', store=True) - category = fields.Selection([ + challenge_category = fields.Selection([ ('hr', 'Human Resources / Engagement'), ('other', 'Settings / Gamification Tools'), ], string="Appears in", required=True, default='hr', |
