summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2015-06-10 17:47:04 +0200
committerMartin Trigaux <mat@odoo.com>2015-06-23 16:18:24 +0200
commitfa3ace7f99321aeec6c9804a353be9ae7a96a8fe (patch)
treef528657198b564362906d795266ea2d459b3665c /addons/analytic_user_function/analytic_user_function.py
parent0ec704f8ec72cc256d63c60c3d91002b0ddd1e52 (diff)
[IMP] account: performances on total_invoiced field
The computation of total_invoiced field was very slow when the size of account.invoice.report grows. This is due to usage of the field user_currency_price_total that requires to build the full view (generates query (id in []) for function field). Using temporary SQL view (inspired by caf333e), directly filter the needed items and avoid building the full table. Fixes #6654
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions