summaryrefslogtreecommitdiff
path: root/addons/hr_gamification
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2019-10-18 15:17:41 +0000
committerThibault Delavallée <tde@odoo.com>2019-11-22 14:44:39 +0000
commit6f0d36fa67c91d0bd70cf092bd1d41c615e1e8be (patch)
tree8f92e2db08d551021a2003908dc111b4411d67c9 /addons/hr_gamification
parente85faf398659a5beb0b1570a06af64dcf78dc1c8 (diff)
[REF] gamification : rename stat_* fields into granted_* to ease understanding
In this commit we rename stat_count into granted_count, and stat_count_distinct into granted_users_count to reflect more what are those variables, aka count of granted badges. Task ID: 1961053 PR #32594
Diffstat (limited to 'addons/hr_gamification')
-rw-r--r--addons/hr_gamification/views/gamification_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_gamification/views/gamification_views.xml b/addons/hr_gamification/views/gamification_views.xml
index 6eddd1171ca..3ce94e91a14 100644
--- a/addons/hr_gamification/views/gamification_views.xml
+++ b/addons/hr_gamification/views/gamification_views.xml
@@ -7,7 +7,7 @@
<field name="inherit_id" ref="gamification.badge_form_view"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
- <button class="oe_stat_button" type="object" name="get_granted_employees" attrs="{'invisible': [('stat_count','=',0)]}" icon="fa-user">
+ <button class="oe_stat_button" type="object" name="get_granted_employees" attrs="{'invisible': [('granted_count','=',0)]}" icon="fa-user">
<field name="granted_employees_count" string="Granted" widget="statinfo"/>
</button>
</div>