[PS] Wrong allocation request created when allocating holidays per category of employee

Bug #767238 reported by Harmel Delphine (OpenERP)
10
This bug affects 2 people
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

Tags: profserv

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

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

Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

And yes we should also improve the Leave request tree view too.
And we can add button on search view to group by category..

thanks,
mra

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :

Hello,

I have improved tree and search view for Leave Request and Allocation Request as per said by Mustufa Rangwala.
Its fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-767238-pso
Rev-Id: <email address hidden>
Rev-no: 4658

Soon, it will be merged with Addons branch.

Thanks for reporting.

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
milestone: none → 6.1
qdp (OpenERP) (qdp)
Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.