locations cannot be sorted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 2 |
Bug Description
1. Currently the locations list has limited sorting features, because the "complete name" field is a function field that is not stored.
Making it stored would improve this, but it must not be "stored=True", otherwise it will not be correctly recomputed when ancestor locations are modified!
The store trigger must recompute all descendant locations too (child_of operator)!
2. Adding the parent_location to the search view could be useful too.
===== original description =======
the tree view of stock locations (not location structure - this one is OK) results in a list order by
_order = 'parent_left'
which is not human readable / undertandable
together with the fact that function fields (Location Name = complete_name) can't be sorted this list is not user friendly at all
(sorting worked in V5)
BTW
IMHO the search view should have buttons for all "usages"
as well as a search field for parent location
please consider the missing sorting and filtering of function fields as a major issue for migration of complex installations to v6
Related branches
- Rohan Nayani(Open ERP) (community): Needs Resubmitting
- qdp (OpenERP): Needs Fixing
- Rucha (Open ERP) (community): Approve
- Diff: 0 lines
summary: |
- stock_location tree view unsorted + locations cannot be sorted |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
importance: | Undecided → Low |
status: | New → Confirmed |
description: | updated |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
It was already a problem to explain customers that many resources didn't show up sorted, that they have
1) to query all
2) click on header to sort
Now sorting s not possible any more - chaos is result
I consider the decision to drop the sort option for function ( and may be other) fields as a show stopper.