odoo/openerp/addons/base/tests
Christophe Simonis dac52e344c [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.
2015-08-14 15:42:37 +02:00
..
__init__.py [MERGE] forward port of branch 7.0 up to e1daaff 2015-03-18 12:52:33 +01:00
base_test.yml [IMP] use model._fields instead of model._all_columns to cover all fields 2014-11-04 13:47:57 +01:00
test_acl.py [FIX] tests: make self.assertRaises() return the expected object 2014-11-17 15:39:14 +01:00
test_api.py [IMP] ormcache: turn it into a global LRU cache shared among registries 2015-03-23 14:36:14 +01:00
test_base.py [FIX] mail: backport of rev 752a07c to 8.0 2015-07-07 08:52:44 +02:00
test_basecase.py move tests 2014-02-09 01:37:45 +01:00
test_db_cursor.py [FIX] tests: db name moved from constant to function 2015-06-12 12:43:01 +02:00
test_expression.py [MERGE] forward port of branch saas-3 up to revid 5115 chs@openerp.com-20140410102422-fcwxhjk40z0oy8x5 2014-04-10 12:54:54 +02:00
test_func.py [FIX] re-enable test func and qweb 2014-02-09 15:33:26 +01:00
test_ir_actions.py [FIX] actions: match the behavior of multi actions with its help text 2014-10-08 17:29:36 +02:00
test_ir_attachment.py [FIX] test ir_attachment: files are not directories 2014-01-16 23:42:07 +01:00
test_ir_filters.py [IMP] ir.filters: new filters are local to the menu/action by default 2014-07-01 03:29:05 +02:00
test_ir_rule.yml [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
test_ir_sequence.py [FIX] tests: db name moved from constant to function 2015-06-12 12:43:01 +02:00
test_ir_values.py [FIX] do not hardcode ids in tests 2012-12-05 18:37:33 +01:00
test_mail.py [FIX] tools: mail: fixed read more link tha could be placed in a block to be removed, being considered as a quote 2014-08-20 14:10:20 +02:00
test_mail_examples.py [FIX] tools: mail: fixed read more link tha could be placed in a block to be removed, being considered as a quote 2014-08-20 14:10:20 +02:00
test_menu.py [FIX] Remove unused imports and fix some imports that doesn't use the new namespace 2012-12-17 15:30:29 +01:00
test_misc.py move tests 2014-02-09 01:37:45 +01:00
test_orm.py [FIX] tests: db name moved from constant to function 2015-06-12 12:43:01 +02:00
test_osv.py move tests 2014-02-09 01:37:45 +01:00
test_osv_expression.yml [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
test_qweb.py [ADD] qweb: handling of t-att=mapping 2014-10-06 19:13:44 +02:00
test_res_config.py [FIX] res_config tests: isinstance(x, long) is False when x is an int! 2013-05-08 17:32:07 +02:00
test_res_lang.py [FIX] remove useless asserts text 2013-02-12 15:18:30 +01:00
test_search.py [FIX] models: "ORDER BY" on many2one fields 2015-08-14 15:42:37 +02:00
test_translate.py move tests 2014-02-09 01:37:45 +01:00
test_uninstall.py [FIX] tests: db name moved from constant to function 2015-06-12 12:43:01 +02:00
test_view_validation.py move tests 2014-02-09 01:37:45 +01:00
test_views.py [FIX] tests: db name moved from constant to function 2015-06-12 12:43:01 +02:00
test_xmlrpc.py [FIX] tests: db name moved from constant to function 2015-06-12 12:43:01 +02:00