odoo/addons/web_calendar
David Monjoie f4e1974d67 [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.
2015-04-21 09:37:50 +02:00
..
i18n [I18N] Update 7.0 translations with latest changes on Launchpad 2014-08-14 03:38:58 +02:00
static [FIX] web_calendar: fixed counting of days when selection spans multiple weeks 2015-04-21 09:37:50 +02:00
__init__.py [IMP] clean permissions and shebang in files 2013-05-14 12:37:36 +02:00
__openerp__.py [ADD] Saas file 2012-10-24 18:05:25 +02:00