diff options
| author | Christophe Monniez <moc@odoo.com> | 2018-08-21 16:43:33 +0200 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2018-08-22 09:28:16 +0200 |
| commit | 3ff0948b0a7ce98048ced74fa6509b2720caa05d (patch) | |
| tree | f25736e632579402a94612b3a1abfca9ee562752 /addons/web_editor/controllers | |
| parent | 0b2d6d748718c9ae6c1a850ea6eb91fa75ee96d7 (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')
0 files changed, 0 insertions, 0 deletions
