odoo/addons/resource
Goffin Simon 64e1c28e35 [FIX] resource: get_working_intervals_of_day
To compute start and end date of a working interval this function replaced
hour in datetime object without taking into account the time zone. The start and end date
taking respectively from calendar_working_day.hour_from and calendar_working_day.hour_to are
in the time zone of the user and the datetime object are compared in UTC to avoid schedule's gap.
This is why the start and end must be converted in UTC after being replaced by these hours.
The tz_info must be removed from dates because it's forbidden to compare naive and aware dates.

opw:648349
2015-09-04 10:01:20 +02:00
..
faces [IMP] resource: remove the need to install matplotlib 2014-12-23 13:40:30 +01:00
i18n [I18N] Update translation terms from Transifex 2015-08-23 01:51:13 +02:00
security [MERGE] forward port of branch 7.0 up to 3509e15 2014-08-28 16:12:55 +02:00
test [IMP] resource: overall fix of hours/days computation + scheduling + added tests 2013-08-30 15:32:50 +02:00
tests [FIX] resource: get_working_intervals_of_day 2015-09-04 10:01:20 +02:00
__init__.py merged with trunk 2010-12-30 15:28:09 +05:30
__openerp__.py [DEL] Cleaning: key 'images' removed from all __openerp__.py 2015-01-06 14:20:38 +01:00
resource.py [FIX] resource: get_working_intervals_of_day 2015-09-04 10:01:20 +02:00
resource_demo.xml [IMP]remove tabs and add spaces instead of them 2012-06-28 12:10:05 +05:30
resource_view.xml Merge pull request #272 from odoo-dev/master-inline-searchview-ged 2014-06-12 16:27:11 +02:00