Skip to content
Browse files

[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
  • Loading branch information...
xdu-odoo authored and nim-odoo committed Mar 22, 2019
1 parent 02b28bb commit cd7af545b551c14d216541866dffab2098942d83
Showing with 0 additions and 1 deletion.
  1. +0 −1 addons/product/views/product_template_views.xml
@@ -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"/>
<t t-name="kanban-box">

0 comments on commit cd7af54

Please sign in to comment.
You can’t perform that action at this time.