odoo/addons/project_timesheet
Nicolas Lempereur a5e32690b0 [FIX] tests: UTC used in test when it should not
The test for account followup use UTC time, but the default `date_maturity`
and `date_due` of an account invoice come from fields.Date.context_today`.

One failing test for project_timesheet also used `today` instead of
`context_today`.

So depending on the test user timezone, an error of one day (if UTC time
and user time are on different day) occured which failed the tests.

For example:

* user has GMT+1 timezone, test fails 0:00am–1:00am (11:00pm-0:00am in UTC)
* user has GMT+3 timezone, test fails 0:00am–3:00am (9:00pm-0:00am in UTC)

This fix removes UTC use in the tests.
2015-03-10 17:33:43 +01:00
..
i18n [I18N] Sync updated 7.0 translations from Launchpad 2015-01-07 17:57:28 +01:00
process [MERGE] *: improved english wording, suggestions courtesy of OpenERP Community 2012-12-21 17:48:08 +01:00
report [MERGE] From trunk 2012-12-17 15:43:06 +01:00
security [IMP]Read access of sale order to project groups when contract is installed 2012-06-29 11:33:34 +05:30
test [FIX] tests: UTC used in test when it should not 2015-03-10 17:33:43 +01:00
__init__.py merged with trunk 2010-12-30 15:28:09 +05:30
__openerp__.py [IMP] emoving bad code, no invitation system on events 2012-09-26 14:16:27 +02:00
project_timesheet.py [FIX] project_timesheet: date of created analytic line not in user tz 2014-11-25 12:33:28 +01:00
project_timesheet_demo.xml [MERGE] hr & co, demo data: update of the pictures of employees 2013-04-10 14:16:08 +02:00
project_timesheet_view.xml [FIX]project_timesheet:menu string changed 2012-12-19 12:21:00 +05:30