summaryrefslogtreecommitdiff
path: root/addons/web_editor/controllers/main.py
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2018-08-21 16:43:33 +0200
committerChristophe Monniez <moc@odoo.com>2018-08-22 09:28:16 +0200
commit3ff0948b0a7ce98048ced74fa6509b2720caa05d (patch)
treef25736e632579402a94612b3a1abfca9ee562752 /addons/web_editor/controllers/main.py
parent0b2d6d748718c9ae6c1a850ea6eb91fa75ee96d7 (diff)
[FIX] gamification: compute badge stats wihtout error
Since 960360a, when computing badge stats, a datetime was compared to a string leading to a traceback. e.g. when clicking in employess > badges. Also, due to a typo, the compute method was assigning the stats result to the wrong attributes. e.g. 'stats_my_this_month' instead of 'stat_my_this_month'. With this commit, the above mentioned issues are fixed and a test is covering these issues to avoid regression.
Diffstat (limited to 'addons/web_editor/controllers/main.py')
0 files changed, 0 insertions, 0 deletions