diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-08-13 16:52:58 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-08-14 15:42:37 +0200 |
| commit | dac52e344c43808d76b8e57a059f803d3863db28 (patch) | |
| tree | 19f2ef6c373ab1e8fbc5a83b433161018c729b2e /addons/web/static/src/css | |
| parent | d8c5299dc06ef86b8f05fe787771868ce435130e (diff) | |
[FIX] models: "ORDER BY" on many2one fields
When ordering results on a many2one fields, results are ordered by
order of the target model. The code was wrongly assuming that this
`_order` attribute only contains `_classic_read` fields (that can be
directly read from the table in database). Now correctly generate the
"ORDER BY" clause using the current table alias.
`res.users` can now be sorted by name.
Diffstat (limited to 'addons/web/static/src/css')
0 files changed, 0 insertions, 0 deletions
