Timezone bug project_timesheet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
In method create and write of class project_work (project_
If an employee works in another timezone, some works can be set in previous or next day (for example a work at monday 01:00 AM will appear on sunday timesheet if the employee tz is +02:00, cause the work is stored at sunday 23:00 PM in database (UTC)).
There should be a timezone setting on the employee object, to set the timezone to use for HR features. You cannot use the user timezone for two reasons : An employee is not always a user and the employee should not be able to change this setting itself, it is a HR data.
In a multi-timezone company this is a serious problem. The HR service should be able to choose for each employee in which timezone the timesheet should be calculated.
Environment :
System: Ubuntu 12.04 LTS
OpenERP : 7.0 launchpad serie (server revision 5058 / addons revision 9386 / web revision 4020)
tags: | added: project timesheet |