fix filter/group_by in product_views

develop
Andreas Osim 2019-02-21 17:35:09 +01:00
parent 0a74cf9ed8
commit d9f37d1622
1 changed files with 5 additions and 1 deletions

View File

@ -120,7 +120,11 @@
</xpath> </xpath>
<xpath expr="//filter[@name='inactive']" position="after"> <xpath expr="//filter[@name='inactive']" position="after">
<!-- <separator/> --> <!-- <separator/> -->
<filter string="Alle (Aktiv &amp; Inaktiv)" name="all_products" domain="['|',('active','=',True),('active','=',False)]" context="{'group_by':'active'}"/> <filter string="Alle (Aktiv &amp; Inaktiv)" name="all_products" domain="['|',('active','=',True),('active','=',False)]"/>
</xpath>
<xpath expr="//filter[@name='inactive']" position="after">
<!-- <separator/> -->
<filter string="Aktiv/Inaktiv" context="{'group_by':'active'}"/>
</xpath> </xpath>
</field> </field>
</record> </record>