diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-03-25 12:16:16 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-03-25 12:39:32 +0000 |
| commit | 02f5b654c385772649534fe205d3328fb21354ba (patch) | |
| tree | bda6953949b2fe7505e6520ad0014f4f71e58649 /addons/web_editor/static/src/scss/web_editor.common.scss | |
| parent | 534822e54c44ba9048de2d8b22675d1adefeaf80 (diff) | |
[FIX] website_slides: fix vote karma
Currently doing a like then dislike does not give a void karma total. Indeed
karma is removed / added only when the vote hits 1 or -1 but does not correctly
take into account the third (void) state. We also avoid adding karma when
upvoting / downvoting an already upvoted / downvoted slide. Interface does
not allow it but avoiding to add karma at model level is always a good idea.
Karma-related tests are improved a bit.
Commit linked to task ID 1958810 and PR #32057
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web_editor/static/src/scss/web_editor.common.scss')
0 files changed, 0 insertions, 0 deletions
