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 _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

