how to delete or hide selected item on filter button on odoo 14
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
thank for respon and i'll try it
Hi,
In order to hide the existing filters, you can inherit the search view and set invisible attribute for those filters or replace it.
Thanks
<record id="website_visitor_view_search" model="ir.ui.view">
<field name="name">website.visitor.view.search.inherit.website.crm</field>
<field name="model">website.visitor</field>
<field name="inherit_id" ref="website.website_visitor_view_search"/>
<field name="arch" type="xml">
<xpath expr="//filter[@name='type_visitor_field']" position="replace"/>
<xpath expr="//filter[@name='type_visitor']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
</field>
</record>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
if you refresh it will disappers
Hi , replace filter