summaryrefslogtreecommitdiff
path: root/addons/gamification/views
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2019-10-31 16:21:30 +0000
committerThibault Delavallée <tde@odoo.com>2019-11-22 14:45:39 +0000
commitbe3f074a910a76275ebaa576dc57f9b72f5ad4ae (patch)
tree4eb6bf32e9cc05f0590cc2d2741dccdd373a0923 /addons/gamification/views
parent6f0d36fa67c91d0bd70cf092bd1d41c615e1e8be (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/views')
-rw-r--r--addons/gamification/views/challenge.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/gamification/views/challenge.xml b/addons/gamification/views/challenge.xml
index bbc11afe910..6b8ccc9c25b 100644
--- a/addons/gamification/views/challenge.xml
+++ b/addons/gamification/views/challenge.xml
@@ -123,7 +123,7 @@
</div>
</group>
<group string="Category" groups="base.group_no_one">
- <field name="category" widget="radio" />
+ <field name="challenge_category" widget="radio" />
</group>
</page>
</notebook>
@@ -218,7 +218,7 @@
<filter name="inprogress" string="Running Challenges"
domain="[('state', '=', 'inprogress')]"/>
<filter name="hr_challenges" string="HR Challenges"
- domain="[('category', '=', 'hr')]"/>
+ domain="[('challenge_category', '=', 'hr')]"/>
<field name="name"/>
<group expand="0" string="Group By">
<filter string="State" name="state" domain="[]" context="{'group_by':'state'}"/>