Merge lp:~zaber/openobject-addons/timesheet-tz into lp:openobject-addons/6.1
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~zaber/openobject-addons/timesheet-tz | ||||
Merge into: | lp:openobject-addons/6.1 | ||||
Diff against target: |
275 lines (+69/-37) 4 files modified
hr_attendance/hr_attendance.py (+7/-1) hr_attendance/wizard/hr_attendance_sign_in_out.py (+2/-2) hr_timesheet/wizard/hr_timesheet_sign_in_out.py (+3/-3) hr_timesheet_sheet/hr_timesheet_sheet.py (+57/-31) |
||||
To merge this branch: | bzr merge lp:~zaber/openobject-addons/timesheet-tz | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+141836@code.launchpad.net |
Description of the change
This fixes bug lp:943091 in 6.1. There were several timezone problems, so I tried to fix each one in a separate commit.
There could still be problems if two users from different timezones edit the same timesheet, but the current 6.1 timesheet modules are unusable because of timezone problems, so I think this is a big improvement.
Unmerged revisions
- 7125. By Don Kirkby
-
[FIX] Use timezone in Sign in / sign out by project feature as part of bug lp:943091.
- 7124. By Don Kirkby
-
[FIX] Store hours on hr_attendance because doing the timezone calculation in SQL was messy. Fixes timesheet by day view.
- 7123. By Don Kirkby
-
[FIX] Use local time in total attendance calculation on timesheet as part of bug lp:943091.
- 7122. By Don Kirkby
-
[FIX] Use time zone for signing in and out of timesheets as part of bug lp:943091. Change hr_attendance.day field to use local date instead of UTC date.
- 7121. By Don Kirkby
-
[FIX] fix today button to use time zone as part of bug lp:943091.