summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-02-01 08:07:56 +0000
committerNans Lefebvre <len@odoo.com>2019-02-01 09:01:27 +0000
commit9d1b07f97b85e18c7d6386ccab47d778a8219bfd (patch)
treef356539a0f1763f211606d73330315242e29e603 /addons/web/static/src/js/views/basic/basic_controller.js
parent220644785cae566af4ac7e5b8df331e7d16696db (diff)
[FIX] project, rating: use rating last update to compute satisfaction percentage
The function _compute_parent_rating_percentage_satisfaction used the creation date of the rating to compute the percentage. However when a client give a new rating, it updates the old one. As a result it doesn't give the recent satisfaction percentage, but the satisfaction percentage of recently created tickets. In other words recently angry clients from old projects would not appear. Similarly this method is somewhat reimplemented directly in SQL in the rating route, which happens to be in the project controller. opw 1921486 closes odoo/odoo#30752
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions