dac52e344c
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. |
||
---|---|---|
.. | ||
base | ||
test_access_rights | ||
test_convert | ||
test_converter | ||
test_documentation_examples | ||
test_exceptions | ||
test_impex | ||
test_inherit | ||
test_inherits | ||
test_limits | ||
test_new_api | ||
test_uninstall | ||
test_workflow | ||
__init__.py |