diff options
| author | jem-odoo <jem@openerp.com> | 2018-03-19 15:06:25 +0000 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2018-03-19 16:34:13 +0000 |
| commit | 3ceae65669e5fe8d0b1641ad9b4621af3fb0c4e5 (patch) | |
| tree | 2d093ee812d2e6526080fc2de9ed5b99c6996316 /doc/_extensions | |
| parent | 1b5d0c3773e4e296a458d3d44a136f3fd887b480 (diff) | |
[FIX] project_timesheet_holidays: fix tests due to DST
To avoid harcorded dates in this test, we use next
monday as starting date for leaves and timesheets.
But today (19/03/2018), next monday will be after
the daylight savings time, so resource module gives
one additionnal day with one hour to be worked, so
one more timesheet is generated and fails the test.
To avoid this, we are now hardcoded dates to a monday
(to avoid weekend and global leaves) and be sure the
number of working days will be 3.
Diffstat (limited to 'doc/_extensions')
0 files changed, 0 insertions, 0 deletions
