I inherit the res.partner form in odoo 10. I don't want some fields in both 'filter' and 'group by' mode in advance search view-
I did it in this way- but it didn't work for me. Is there any solution for this?
<record id="view_inherit_filter" model="ir.ui.view"> <field name="name">res.partner.select.inherit</field> <field name="model">res.partner</field> <field name="inherit_id" ref="base.view_res_partner_filter"/> <field name="arch" type="xml"> <search string="Search Partner"> <xpath expr="filter[@string='Customers']" position="attributes"> <attribute name='invisible'>1</attribute> </xpath>
</search> </field> </record>
Inheritance in Odoo: http://learnopenerp.blogspot.com/2018/01/inheritance-in-models-and-views.html