Skip to content

Commit

Permalink
[FIX] pim: add correct context suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
kobros-tech committed Feb 19, 2025
1 parent 785a903 commit ede907d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pim/views/attribute_attribute.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
/>
<field
name="context"
eval="{'default_model_id': ref('product.model_product_template')}"
eval="{
'default_model_id': ref('product.model_product_template'),
'active_attribute_sort_view_ref': True
}"
/>
<field
name="domain"
Expand Down
2 changes: 1 addition & 1 deletion pim/views/product_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
<field name="view_id" ref="pim.pim_product_template_tree_view" />
<field
name="context"
>{"include_native_attribute": 1, "search_default_filter_to_sell": 1}</field>
>{"include_native_attribute_view_ref": 1, "search_default_filter_to_sell": 1}</field>
</record>
</odoo>

0 comments on commit ede907d

Please sign in to comment.