diff options
| author | Martin Trigaux <mat@odoo.com> | 2018-11-02 14:54:17 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-11-02 15:41:00 +0000 |
| commit | 2b4c1f3a45b08cc92206a460aa1b2b1fffad37d7 (patch) | |
| tree | a3e1447d22366f949919b1af33f5bc168b566a17 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 079a3b602bf26b54d11532b29d28d41e310a8786 (diff) | |
[FIX] gamification: correct mail template on small challenges
A challenge with less than 3 participants was failing with a key error
The challenge line has only one 'goal' result per participant
As the template is set in a noupdate, even a module update does not fix the bug
Generate fake goals that will be displayed in the top 3, e.g.:
1 Bob $100 42%
2 Alice $50 21%
3 0 0%
closes odoo/odoo#28363
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
