← Back to team overview

openerp-india team mailing list archive

[Bug 960136] Re: Calculation of Days of a Leave Request suspect

 

** Project changed: openerp-web => openobject-addons

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
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):
  Confirmed

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