diff options
| author | Thibault Delavallée <tde@openerp.com> | 2012-12-10 16:46:52 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2012-12-10 16:46:52 +0100 |
| commit | bd0bae66250d59b3a6fdc149de2e598a6c277466 (patch) | |
| tree | de0ab90c7727f35e84c27586afafa4b16803dc9d /addons/plugin/plugin_handler.py | |
| parent | e14e1122ac4f1a7e9bd2e71ba239ec7a1196118b (diff) | |
| parent | 733cb0d96aac3e11cdc722d5249ae41d5c9c81a0 (diff) | |
[MERGE] Perform auto-join and mailboxes+needaction speed udpate. Server-side branch, holding a refactoring of expression.parse and the addition of _auto_join feature on relational fields.
expression.parse: refactored the main parsing loop, now using source and result stacks. Leaf elements are encapsulated into a specific object, allowing to delegate the join condition formation, working table management and table aliases generation to them. The parsing is now a simple loop taking a leaf, doing one action on it, and putting the result back to be analyzed or in the results. This allows to avoid having nested loops and uncontrolled results.
Other modifications :
- updated the generation of order_by to take into account the table now referred using aliases
- updated Query object to use the aliases
- fixed an outstanding bug about _order, now handled as order. This means that putting direct SQL into _order of models will not be supported anymore, because of the computing complexity now that we have multiple joins in queries. The branch holds the patch from Paulius Sladkevičius
- updated and added tests
- added a basic documentation for the freature
lp bug: https://launchpad.net/bugs/1070757 fixed
bzr revid: tde@openerp.com-20121210154652-6sab9usb38i7adlh
Diffstat (limited to 'addons/plugin/plugin_handler.py')
0 files changed, 0 insertions, 0 deletions
