[FIX] res.groups: ensure predictable sort order
authorOlivier Dony <odo@openerp.com>
Wed, 22 May 2013 16:32:01 +0000 (18:32 +0200)
committerOlivier Dony <odo@openerp.com>
Wed, 22 May 2013 16:32:01 +0000 (18:32 +0200)
commit823439f7e1553f7087de4ec5647b15df21dfecb3
treea8f47ae29fbd5f5f3b3ad2438094b94ce836658d
parent13a68f8511ccb8858d8d378110d9c2bf5bf9682b
[FIX] res.groups: ensure predictable sort order

Unfortunately the group names are translatable,
and the display name is based on the hierarchy
of groups, so this will not give a satisfactory
result. What we would need ideally is to be able
to sort on the translated "full name" value,
but this is not supported by the ORM yet.
But a stable order is still better than no
order at all

bzr revid: odo@openerp.com-20130522163201-f9zo7xnjvbs2mi97
openerp/addons/base/res/res_users.py