summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2020-11-05 12:37:41 +0000
committerRomain Derie <rde@odoo.com>2020-11-18 11:30:00 +0000
commit23e65d70baf2444b35c81a10cdc09fee9d625c75 (patch)
treecd0ee9059df8bcd296370c668315705e95faabf9 /addons/mail/static/src/models/thread_cache
parent0fd1a8ce30ff83030577b95b2ac10669425671e9 (diff)
[FIX] website_sale: align dashboard data
Before this commit, the python domain on sale.report would not get today's data as it would do `date >= 2020-03-03`, but it means `2020-03-03 00:00:00`, actually excluding today. Then the JS domains to retrieve those data once you click on the metric (it loads an act window with his domain + additional domain though js) would have a different date domain, including today. Note that there is still some inconsistencies between python and JS such as last month filter which is in python (in template filter) today - 30 days while in JS it is moment.subtract 1 month which might be 31 days.
Diffstat (limited to 'addons/mail/static/src/models/thread_cache')
0 files changed, 0 insertions, 0 deletions