summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-06-10 11:09:54 +0200
committerRaphael Collet <rco@openerp.com>2015-06-17 13:32:17 +0200
commit9593a2930fae38a4d8483ee1f23baed343015ef4 (patch)
tree0d3b430f0e2a26231b1fbe15961bbd70d2765d07 /addons/web/static/src/js/framework
parent44efcf8066af9cb32b13fb2e839973f64dcdcf3a (diff)
[IMP] model, query: implement sort on translatable fields
The methods `BaseModel._inherits_join_calc` and `BaseModel._generate_order_by` are modified to add a JOIN to the translation table for translated fields, so that the translation value is directly accessible in the query itself. For the JOIN with the translation table to work, the method `Query.add_join` is extended to take extra conditions in the join clause, together with parameters.
Diffstat (limited to 'addons/web/static/src/js/framework')
0 files changed, 0 insertions, 0 deletions