Skip to content
Snippets Groups Projects
Commit d4068589 authored by niyasraphy's avatar niyasraphy Committed by Thibault Delavallée
Browse files

[FIX] website_profile: show + only when gained karma is positive


Before this commit, in the website profile frontend, if we filter the users
using 'This week' or 'This month' filters we always get a '+' displayed before
the karma gain.

If user gained negative karma, lets say -500, currently it displays as follows
--> +-500 , instead of -500.

After this commit, if the gained karma during the period is it will show
-500 instead of +-500.

closes odoo/odoo#114506

Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent a4859993
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment