summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-02-19 12:10:41 +0100
committerqsm-odoo <qsm@odoo.com>2018-02-19 12:10:41 +0100
commit57c99a690cfd13d05673ed55a5d70168a0235974 (patch)
tree1d7e99d2cc1efa71795b01b887f891efc34917a6 /addons/web/static/src/js/views/basic/basic_model.js
parent67cc7a7c26aa9fbd54b6bddd028ef03552d1d147 (diff)
[FIX] sales_team: properly show group-by-week graph data for 2018 year
Since the new year, the graphs in sale dashboards were not displayed properly when grouped by week. This was because the computation of the number of weeks in 2018 gave "1" as a result as this was got from the week number of 31/12/2018 which is in fact in the first week of the ISO year 2019. This commit solves the problem by using the 28/12/xxxx which is always in the last week of ISO years. opw-816758
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions