← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 711533] Re: v6 hr_attendance - time is rounded to hour

 

Hello Vadim,

Its fixed in https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-dev-addons3-mtr1 branch.
Revision ID: mtr@mtr-20110207093621-6r52uwthtmc08wk7
Revision no: 4738

Thank you for your suggestion.

Thanks
mtr

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/711533

Title:
  v6 hr_attendance - time is rounded to hour

Status in OpenERP Modules (addons):
  Fix Committed

Bug description:
  The hr_attendance time is rounded by hour, not by minute.

  I suggest this fix:

  /hr_attendance/report/attendance_by_month.py

  line 88

  -                            wh += (dt - ldt).seconds/60/60
  +                            wh += (float((dt - ldt).seconds)/3600)

  Similar issue for the weekly attendance.





References