This forum is now just an archive. Use the new Q&A website
It is currently Thu Apr 24, 2014 8:43 pm

All times are UTC + 2 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Timesheet Attendances Timezone Problem
PostPosted: Wed Dec 05, 2012 6:49 am 
Offline

Joined: Thu Jan 27, 2011 1:34 am
Posts: 8
Attendances in the timesheet form are not displayed properly when the Sign-In and Sign-Out times span a new day in UTC time. My timezone is -7:00. Here's how to recreate the behavior:

1. Set timezone to -7:00
2. Create a timesheet
3. Sign in at 16:59 (one minute before 5pm local time, but one minute before midnight UTC)
4. Sign out at 17:01 (one minute after 5pm local time, but one minute after midnight UTC)
5. Save the timesheet

The SignOut action is now displayed on the following day, although it is still dated for today.

The "Total Attendance" field now shows a negative number for today and 1 minute for tomorrow.

Anyone else have this problem? Is there a work-around? Should I post a bug somewhere?


Top
 Profile  
 
 Post subject: Re: Timesheet Attendances Timezone Problem
PostPosted: Thu Dec 06, 2012 12:33 am 
Offline

Joined: Fri Feb 03, 2012 11:35 pm
Posts: 309
Location: Highland, CA
One of our customers had the same problem. We worked with OpenERP support to have this fixed. It was partially fixed, but our customer decided to migrate to 7 once they saw how timesheets worked in that version.

On Windows, the web client timezone preference is ignored and the web browser timezone is used. This was part of the problem (and I've seen a warning in 7 when the two don't match).

I can dig up the patches and bug reports if you want them, but we didn't finish fixing the problem because our customer moved on.

Hope that helps!

Ray Carnes
Ursa Information Systems
OpenERP Silver Partner

Our OpenERP modules can be found here


Top
 Profile  
 
 Post subject: Re: Timesheet Attendances Timezone Problem
PostPosted: Thu Dec 06, 2012 9:27 pm 
Offline

Joined: Thu Jan 27, 2011 1:34 am
Posts: 8
Yeah, I forgot to mention:

OpenERP version 6.1 on Debian 6.0 server
Firefox on ubuntu or win7, same behavior

Now I'm debating whether I want to try OpenERP version 7. If it has the modules I use, then that is what I will do.


Top
 Profile  
 
 Post subject: Re: Timesheet Attendances Timezone Problem
PostPosted: Sat Dec 08, 2012 2:02 am 
Offline

Joined: Fri Feb 03, 2012 11:35 pm
Posts: 309
Location: Highland, CA
I attached the patch to https://bugs.launchpad.net/openobject-c ... bug/534250

Ray.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP