← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 669555] Re: [6.0RC1] - default sort order missing for many objects

 

Of course I am concerned about GUI-Layer
I always see users clicking on column headers to get sorted lists. 
For long I suggest to introduce a sort option for XML code as a lot of lists may be sorted differently because they have more than ONE intresting key depending on what the user is looking for.
Example sort options for account move lines
* date
* account_move.name
* partner_id.name
* account_account.name
* account_account_analytic.name
.....
obvoiusly if there is a _order, there should also be an index on this field. 

but may be I am too much sql orientated, not knowing how orm exaclty
handles the queries.

Nevertheless I beleive to get user acceptance we need a very good GUI
usability

-- 
[6.0RC1] - default sort order missing for many objects
https://bugs.launchpad.net/bugs/669555
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Invalid

Bug description:
in addons
find . -follow -name "*py" |xargs egrep 'osv\.osv| _order|_inherit'|less

IMHO each class should have either _inherit or _order to return a user friendly ordered list - especially in respect to the number of records displayed - to avoid order by id





References