Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Commit b6ca01e

Browse files
author
Paul Catinean
committed
Merge branch '12.0-T3118-Small-fixes-Mydisplays-bizz-chp' into '12.0'
[IMP][T3118] Product_configurator: create search view for session See merge request pledra/odoo-product-configurator!79
2 parents 8a6b5ac + 6d24427 commit b6ca01e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

product_configurator/views/product_config_view.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,27 @@
161161
</field>
162162
</record>
163163

164+
<record id="product_config_session_search_view" model="ir.ui.view">
165+
<field name="name">product.config.session.search</field>
166+
<field name="model">product.config.session</field>
167+
<field name="arch" type="xml">
168+
<search string="Configuration Sessions">
169+
<field name="name"/>
170+
<field name="product_tmpl_id"/>
171+
<field name="value_ids"/>
172+
<field name="user_id"/>
173+
<field name="price"/>
174+
<field name="config_step_name"/>
175+
<field name="product_id"/>
176+
<group expand="0" string="Group By">
177+
<filter string="State" name="state" context="{'group_by':'state'}"/>
178+
<filter string="Product Template" name="product_tmpl_id" context="{'group_by':'product_tmpl_id'}"/>
179+
<filter string="User" name="user_id" context="{'group_by':'user_id'}"/>
180+
</group>
181+
</search>
182+
</field>
183+
</record>
184+
164185
<record model="ir.actions.act_window" id="action_attributes_view">
165186
<field name="name">Attributes</field>
166187
<field name="type">ir.actions.act_window</field>

0 commit comments

Comments
 (0)