Reputation: 453
I have this kanban view that has this attribute:
default_group_by="stage_id"
I want to inherit this view and change this attribute with another variable
default_group_by="state"
Now I know how to add/replace a field or add an attribute, but is it possible to replace an attribute? Thanks.
Upvotes: 1
Views: 1789
Reputation: 438
Like this you can replace the attribute value of a field in odoo:
<xpath expr="//field[@name='your-field-name-here']" position="attributes">
<attribute name="default_group_by">state</attribute>
</xpath>
Upvotes: 5