Wrong Prioritization of OpenERP v6.1 Procurement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 2 | ||
OpenERP Community Backports (Addons) |
New
|
Undecided
|
Unassigned | ||
6.1 |
Fix Released
|
Medium
|
Yann Papouin |
Bug Description
Hi OpenERP Addons Team,
I think the prioritization of OpenERP v6.1 procurement is wrong because the procurement sorts the list according to Priority and decreasing Scheduled Date. Moreover, it affects the automatic allocation/
Example, default sorting of OpenERP procurement:
1st - Priority: Not Urgent (0), Scheduled Date: June 20, 2012
2nd - Priority: Normal (1), Scheduled Date: June 24, 2012
3rd - Priority: Normal (1), Scheduled Date: June 21, 2012
4th - Priority: Normal (1), Scheduled Date: June 20, 2012
5th - Priority: Very Urgent (3), Scheduled Date: June 20, 2012
The order should be (desc priority, schedule date):
1st - Priority: Very Urgent (3), Scheduled Date: June 20, 2012
2nd - Priority: Normal (1), Scheduled Date: June 20, 2012
3rd - Priority: Normal (1), Scheduled Date: June 21, 2012
4th - Priority: Normal (1), Scheduled Date: June 24, 2012
5th - Priority: Not Urgent (0), Scheduled Date: June 20, 2012
or it should be (schedule date, desc priority):
1st - Priority: Very Urgent (3), Scheduled Date: June 20, 2012
2nd - Priority: Normal (1), Scheduled Date: June 20, 2012
3rd - Priority: Not Urgent (0), Scheduled Date: June 20, 2012
4th - Priority: Normal (1), Scheduled Date: June 21, 2012
5th - Priority: Normal (1), Scheduled Date: June 24, 2012
Related branches
- Amit Parik (community): Approve
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedprocurement/procurement.py (+1/-1)
- Holger Brunn (Therp): Approve (code review)
- Stefan Rijnhart (Opener): Approve
- Pedro Manuel Baeza: Approve (code review)
-
Diff: 12 lines (+1/-1)1 file modifiedprocurement/procurement.py (+1/-1)
Changed in openobject-addons: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
Hello,
It has been fixed on lp:~openerp-dev/openobject-addons/trunk-bug-1012470-rmu branch with Following Revision Number and Revision ID.
Revision Number: 7022
Revision ID: <email address hidden>
This will soon merge with trunk
Thank you!