I want to customize 2 button that have the same name, for each button a group
<header>
<button name="action_rfq_send" states="draft" string="Send RFQ by Email" type="object" context="{'send_rfq':True}" class="oe_highlight"/>
<button name="action_rfq_send" states="sent" string="Re-Send RFQ by Email" type="object" context="{'send_rfq':True}"
here is what I did but it does not work, this code just customize the first button:
<xpath expr="//button[@name='action_rfq_send']" states="draft" position="attributes">
<attribute name="groups" >purchase.achat_group_demandeur</attribute>
</xpath>
<xpath expr="//button[@name='action_rfq_send']" states="sent" position="attributes">
<attribute name="groups" >purchase.achat_group_demandeur</attribute>
</xpath>