[6.1RC1 Web] Can't sort products by quantity on hand or quantity available columns
Bug #925898 reported by
Nicolas Réau
This bug report is a duplicate of:
Bug #629332: Function,related fields that are not stored cannot be used to sort.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
In OpenERP Web 6.1 RC1, Warehouse > Products > Products or Purchases > Products > Products
I can't sort the list of products by quantity. It works for all the other columns, but for 'quantity on hand' and 'quantity available', nothing happens when I click their column header.
Expected result: clicking the "quantity on hand" column header should sort the products by quantity.
To post a comment you must log in.
Quantity is a function field, and sorting function fields doesn't work out of the box. That's a limitation more than a bug.
There has been some discussion and work on that, especially by xrg and people at camp2camp, google for "openerp sort function field"