summaryrefslogtreecommitdiff
path: root/addons/document
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2015-04-20 14:10:10 +0200
committerDavid Monjoie <dmo@odoo.com>2015-04-21 09:37:50 +0200
commitf4e1974d67c776b01329db443d3def05d2ce1bc2 (patch)
treefabc1f163c848f6d7cbe1858f1523da81b21eef1 /addons/document
parent0b2bc27adc9ced899744c3bd06789d69e5b990f5 (diff)
[FIX] web_calendar: fixed counting of days when selection spans multiple weeks
As event_obj._length doesn't return the number of days when the selection spans multiple weeks, the test was wrong when the selection ended on the first day of a subsequent week. This fix was originaly written by rha-odoo at 95d344b, but I rewrote it a little. I would have liked a cleaner way of finding how many days there were between the two dates, but I couldn't find anything better, considering I didn't want to create new objects just for that test. Fixes opw 614703.
Diffstat (limited to 'addons/document')
0 files changed, 0 insertions, 0 deletions