Leave request not calculating correct the number of days
Bug #812303 reported by
TArpi
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP R&D Addons Team 3 |
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/
Thanks,
TArpi
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-812303-mtr
Rejected
for merging
into
lp:openobject-addons
- OpenERP Core Team: Pending requested
-
Diff: 52 lines (+17/-3)1 file modifiedhr_holidays/hr_holidays.py (+17/-3)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
tags: | added: maintenance |
To post a comment you must log in.
Hi Amit Parik,
Thank you for your fast response.
I think if the Leaves Request depends from the Working time, then the hr_holidays module should depend from project_long_term when installing.
And we should have a menu in Human Resources > Configuration > Leaves pointig to the Project> Configuration > Resources>Working time (as we have for example in Sales an Purchases menu for Products submenu)
Should I open a new bug for these, or you will "arrange" ? :)
Thanks,
TArpi