summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authoroco-odoo <oco@odoo.com>2020-06-12 14:50:19 +0000
committeroco-odoo <oco@odoo.com>2020-06-12 16:25:49 +0000
commitcddd132ae8bfbe6959bca6b28c9df2cdaf6f290b (patch)
tree4d51b7b1f63b3d59df72dc179f1a23d4d31738f3 /addons/mail/static/src/models/thread_cache/thread_cache.js
parentab72fe6c4681f62dc670f1cf1ac6fa47abd301f6 (diff)
[REF] account: reconciliation models: improve performance
When opening the reconciliation widget and calling the matching rules, instead of calling all the rules in a single huge SQL query and then iterating on all the statement lines to match them with the results, we now first group the lines per applicable model and each time call a distinct (but way smaller) query for each group, stopping trying other rules for a statement line when one returns candidates. More queries are performed, but they are way more simple.
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions