summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2020-11-04 11:39:25 +0000
committerRomain Derie <rde@odoo.com>2020-11-18 11:21:58 +0000
commit06f954787cf60e657768e365a15ea4513d459c0b (patch)
tree87f2c65a001f67b9f2316bbe1e833b5c9ebcc614 /addons/mail/static/src/models/thread_cache/thread_cache.js
parent26e26181c9680e89f8c8e1eb3b4c9dc2fc063d87 (diff)
[FIX] website: use correct action domain on dashboard
Without this commit, when clicking on a metric on the website dashboard, it would not load the correct data. Indeed, the dashboard is loaded for a specific website only, but clicking on a metric opens the data for every website together. Step to reproduce: - Make some orders on 2 differents website ecommerce - OPTIONAL: Get through the payment on some orders, then just leave some products in the cart afterward to have some unpaid orders - Go to the website dashboard, you see some metrics - Change the selected website on top right, you see the metrics adapts correctly - Click on a metric, it doesn't fit the number you clicked on. For instance, if you had 1 Unpaid Orders for website 1 and 3 Unpaid Orders for website 2, you see 4 orders in the tree view once you have clicked the metric. This commit ensures the correct website is appended to every dashboard action domain. opw-2369420 Fixes #44926, fixes #51125
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions