summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/less/web_editor.ui.less
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-07-12 17:41:05 +0200
committerNicolas Lempereur <nle@odoo.com>2018-07-13 10:52:33 +0200
commit05a00fa9d4f001cef6d31a5b8d20a847de4f455b (patch)
tree1e0bf5bd8e4b3c168de54241f9804453699b8cb8 /addons/web_editor/static/src/less/web_editor.ui.less
parent6e6e3d4c964ac8c54149104b340345523ecb7365 (diff)
[FIX] product: variant num w/o prefetch pollution
When getting: - product_variant_count, - sales_count, of a product.product, we would pollute the records to be prefetched by all the variants when counting the number of variants. Thus if this happened before sales_count, we would possibly compute the sales_count for up to 1000 records when it could have been needed for just one. By using `.with_prefetch()`, a recordset will have its own records to be prefetched list and will not pollute the original one. opw-1865111 fixes #25649 closes #23112 (PR with similar fix) closes #25741
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.ui.less')
0 files changed, 0 insertions, 0 deletions