c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #14734
[Bug 711533] [NEW] v6 hr_attendance - time is rounded to howr
Public bug reported:
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.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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 howr
Status in OpenERP Modules (addons):
New
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.
Follow ups
-
[Bug 711533] Re: v6 hr_attendance - time is rounded to hour
From: Azazahmed Saiyed (OpenERP), 2011-02-10
-
[Bug 711533] Re: v6 hr_attendance - time is rounded to hour
From: Mustufa Rangwala (Open ERP), 2011-02-10
-
[Bug 711533] Re: v6 hr_attendance - time is rounded to hour
From: Mustufa Rangwala (Open ERP), 2011-02-10
-
[Bug 711533] Re: v6 hr_attendance - time is rounded to hour
From: Mustufa Rangwala (Open ERP), 2011-02-07
-
[Bug 711533] Re: v6 hr_attendance - time is rounded to hour
From: Mustufa Rangwala (Open ERP), 2011-02-07
-
[Bug 711533] Re: v6 hr_attendance - time is rounded to hour
From: Meera Trambadia (OpenERP), 2011-02-07
-
[Bug 711533] Re: v6 hr_attendance - time is rounded to hour
From: Launchpad Bug Tracker, 2011-02-03
-
[Bug 711533] Re: v6 hr_attendance - time is rounded to hour
From: Meera Trambadia (OpenERP), 2011-02-02
-
[Bug 711533] Re: v6 hr_attendance - time is rounded to hour
From: Azazahmed Saiyed (OpenERP), 2011-02-02
-
[Bug 711533] Re: v6 hr_attendance - time is rounded to hour
From: Azazahmed Saiyed (OpenERP), 2011-02-02
-
[Bug 711533] Re: v6 hr_attendance - time is rounded to howr
From: Vadim - SmartMode LTD, 2011-02-01
-
[Bug 711533] [NEW] v6 hr_attendance - time is rounded to howr
From: Vadim - SmartMode LTD, 2011-02-01
References