[FIX] product: template kanban view perf
When displaying product template list in kanban mode, all the variants of the product template are loaded but aren't used at all. This causes a perf issue when loaded product templates have a lot of variants. This commit removes the field `product_variant_ids` from view `product_template_kanban_view` to avoid that perf issue. opw 1951369 closes odoo/odoo#32048 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
committed by
Nicolas Martinelli
parent
a4f9b48667
commit
46d22fbd4f
@@ -69,7 +69,6 @@
|
||||
<field name="image_small"/>
|
||||
<field name="lst_price"/>
|
||||
<field name="product_variant_count"/>
|
||||
<field name="product_variant_ids"/>
|
||||
<field name="currency_id"/>
|
||||
<templates>
|
||||
<t t-name="kanban-box">
|
||||
|
||||
Reference in New Issue
Block a user