summaryrefslogtreecommitdiff
path: root/addons/timer/static/src/js/timer_toggle_button.js
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2020-05-05 12:56:07 +0000
committerRaphael Collet <rco@odoo.com>2020-05-20 07:56:44 +0000
commit84a595301edeb558f93ce5509efdcd8e30fd2a64 (patch)
tree92b20abade241617d6aa51737958c9489426fd84 /addons/timer/static/src/js/timer_toggle_button.js
parent0fa101a8bf13671162bda91deb98bd0c7ec76f3f (diff)
[REF] expression: use and return a Query object
The management of the join contexts now relies on the `Query` object, that has all the necessary logic to do so. The refactoring also removes the class `ExtendedLeaf`, which is no longer necessary: the join contexts are all managed by a single `Query` object, and the parsing stack now only contains triples like (leaf, model, table_alias). Also inline directly the SQL translation made in `_to_sql`, which overall simplifies the management of SQL parameters in the domain compilation. The algorithm is illustrated in the code itself.
Diffstat (limited to 'addons/timer/static/src/js/timer_toggle_button.js')
0 files changed, 0 insertions, 0 deletions