← Back to team overview

openerp-india team mailing list archive

[Bug 960136] [NEW] Calculation of Days of a Leave Request suspect

 

You have been subscribed to a public bug:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: Confirmed

-- 
Calculation of Days of a Leave Request suspect
https://bugs.launchpad.net/bugs/960136
You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons.