summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-06-07 09:42:14 +0200
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-06-07 13:09:24 +0200
commitb0a29532ff49e9fb9d1100adfb1616cf403cc91d (patch)
tree03e55c3877357f6d16831e67fcfdfe6eec1a2aa0 /setup
parentab8d7c936065458b2efbda77dd88e52f1c0461ac (diff)
[FIX] website_livechat: use only consumed ratings
The percentage computation of statistics only uses the consumed ratings >= 1 (through `rating_get_repartition`), while the initial search of the first 100 ratings doesn't have this restriction. It leads to an inconsistency between the ratings displayed and the percentages computed. Moreover, if there are less than 100 ratings, the percentage might not be a natural number => use of float and round. opw-1854863
Diffstat (limited to 'setup')
0 files changed, 0 insertions, 0 deletions