Calculation of Days of a Leave Request suspect
Bug #960136 reported by
ValdecDev
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
When Requesting Leave and putting in start dates and end dates as follows
Start Date: 26/03/2012 10:00
End Date: 28/03/2012 21:00
on tabbing to leave the end date field, the Number of Days field is populated as 3.00
If the End Date is set as
Start Date: 26/03/2012 10:00
End Date: 28/03/2012 22:00
(one hour later) then the Number of Days field is populated as 4:00 (it adds an extra day if there is a 12 hour difference on time)
This is a low priority as it can be overridden manually in the Number of Days field here but I'm reporting it in case it is a generic datediff function.
Related branches
lp:~openerp-commiter/openobject-addons/trunk-bug-960136-cha
Rejected
for merging
into
lp:openobject-addons
- Purnendu Singh (OpenERP) (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedhr_holidays/hr_holidays.py (+1/-1)
affects: | openerp-web → openobject-addons |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Please can add tell us the version used ?
Regards,