Hi,
I want to hide progress-bar of crm.lead module. when i use xpath with position="replace" that time it would been hide but when I'm using position="attributes" that it would be not hide. i use position="attributes" coz i want to apply group on it.
see the below code
<record id="crm_price_field_hide_kanban_view" model="ir.ui.view">
<field name="name">crm.lead.kanban.hide.field</field>
<field name="model">crm.lead</field>
<field name="priority">1</field>
<field name="inherit_id" ref="crm.crm_case_kanban_view_leads" />
<field name="arch" type="xml">
<xpath expr="//kanban/progressbar[@field='activity_state']" position="attributes">
<attribute name="groups">base.user_admin</attribute>
</xpath>
</field>
</record>
If you will solve this please let me know.
Thanks in Advanced.