← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 812303] Re: Leave request not calculating correct the number of days

 

There is a strange process in this - the calculation of request days can
be left behind even if the date is corrected.

So if the end date is set BEFORE the start date (which is an error in my
opinion) then this is not corrected if the end date is set AFTER the
start date.

So to save a corrected date form you must also delete the number of
requested days if it shows negative. This is an error.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/812303

Title:
  Leave request not calculating correct the number of days

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Sys: OERP 6.0.2, Ubuntu 10.10.

  If an user introduces in Human Resources> Leaves> Leaves request a new
  request the Number of days are not calculated correct.

  To test:
  1. Create an employee.
  2. Introduce a new leave request with start date: 07/18/2011 08:00:00 stop date: 07/29/2011 17:00:00

  Result: it calculates 12 day, witch is OK if we take calendaristic
  days, but not for an employee.

  Expected:  to calculate 10 day, accordingly for example to the working
  day in Project/Configuration/Resources/Working time

  Thanks, 
  TArpi

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/812303/+subscriptions


References