summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorstd-odoo <std@odoo.com>2020-08-05 14:20:19 +0000
committerstd-odoo <std@odoo.com>2020-08-21 12:11:11 +0000
commit0c6dcb5b887ba31ec20c0fb5958eaf4867dc61a3 (patch)
tree4256d8dd7af4e51c65aa30e077a0dbe67938792f /doc/reference/javascript_reference.rst
parent8c083bcd3e483745dea22f3cfd20175a949f854f (diff)
[FIX] mass_mailing: fix performance issue on the "total" field
Issue ===== There's a performance issue when computing the total field on the mailing model. When there're a lot of record (e.g. 500.000 leads). This is because when we compute the field, we are fetching all the records and then we calculate the length of the array. We can just use a `search_count` and let Postgre count the records. Task-2313123 closes odoo/odoo#56298 X-original-commit: d1ab37de0c4782b4f12b44f9858446b4c9c7dc08 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions