[IMP] *: add Archived filter in models with active field
task:2026285 closes:#45779 closes odoo/odoo#45779 Related: odoo/enterprise#8581 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
@@ -180,6 +180,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Groups">
|
||||
<field name="name"/>
|
||||
<filter string="Archived" name="inactive" domain="[('active', '=', False)]"/>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -76,7 +76,6 @@
|
||||
<field name="categ_id" />
|
||||
<field name="product_tmpl_id" />
|
||||
<separator/>
|
||||
<filter string="Archived" name="inactive" domain="[('active','=',False)]"/>
|
||||
<group expand='0' string='Group by...'>
|
||||
<filter string='Product' name="group_by_product_id" context="{'group_by': 'product_id'}"/>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user