openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #17449
[Bug 960136] Re: Calculation of Days of a Leave Request suspect
Hello,
I cannot reproduce this bug on the latest trunk, seems like it has been
fixed.
Therefore I'm closing this bug.
Thanks a lot
** Changed in: openobject-addons
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/960136
Title:
Calculation of Days of a Leave Request suspect
Status in OpenERP Addons (modules):
Fix Released
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/960136/+subscriptions