[PS] Wrong allocation request created when allocating holidays per category of employee
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
trunk, revno 3378
Using demonstration data and having two employee's categories : Employee and Consultant (consultant having employee as parent category). The employee "Fabien" is part of the "Employee" category while "Quentin" is part of the "Consultant" category. Logged as Administrator :
* Human Resources / Leaves / Allocation Requests, allocate a "Legal leave" of 20 days for the category "Employee"
Obtained result : one allocation request for the Administrator employee and another one for "Fabien"
Expected result : one allocation request for "Quentin" and another one for "Fabien".
/!\ It seems that the allocation is correct (see leaves summary) but the list view indicate the "Administrator" employee insted of "Quentin"
reported by dha, OpenERP Prof. Services
Related branches
- Mustufa Rangwala (Open ERP) (community): Approve
- Priyesh (OpenERP) (community): Needs Resubmitting
- qdp (OpenERP): Pending requested
-
Diff: 44 lines (+6/-1)2 files modifiedhr_holidays/hr_holidays.py (+1/-1)
hr_holidays/hr_holidays_view.xml (+5/-0)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
Hello Harmel,
I have just processed your step in my db. And i am getting the result exactly same as what you Expect from Allocation Request for "By employee category".
The problem is the tree view of Allocation request. Currently the tree view show the "employee" field and i think it should show "allocation category" too as well as category if the allocation request is for category of employees.
I confirm this bug with improvement in the list view of allocation request.
Thanks,
mra