← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 665374] Re: Partner categories can't be sorted alphabetically

 

A more user-friendly natural order has been set for partner categories at revision 3093 odo@xxxxxxxxxxx-20101211000450-1tfx298cc7aqliih.
This makes uses of a combination of _parent_store, _parent_order and _order to achieve the proper effect.

FYI: _order = 'parent_id.name, name' is not valid, because _order is
used at a lower-level and must be directly injectable in SQL.

Thanks for reporting!

** Changed in: openobject-server
       Status: Confirmed => Fix Released

** Changed in: openobject-server
    Milestone: None => 6.0-rc2

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/665374

Title:
  Partner categories can't be sorted alphabetically

Status in OpenObject Server:
  Fix Released

Bug description:
  it seems that

_order = 'parent_id,name'

prohibits proper sorting

not user friendly

I just want to recall that IMHO lists should always be sorted alphabetically by default
I suggest 
_order = 'parent_id.name, name'
every user can "see" this





References