Browse Source

[IMP] id on button as the name of the button doesn't allow overriding

pull/36/head
houssine 5 years ago
committed by robin.keunen
parent
commit
87ceda15c1
  1. 4
      easy_my_coop/views/res_partner_view.xml

4
easy_my_coop/views/res_partner_view.xml

@ -12,9 +12,9 @@
<field name="arch" type="xml">
<sheet position="before">
<header>
<button string="Create Subscription" name="%(action_view_create_subscription)d"
<button id="action_view_create_subscription" string="Create Subscription" name="%(action_view_create_subscription)d"
type="action" context="{'default_active_id': active_id}" groups="easy_my_coop.group_easy_my_coop_manager"/>
<button string="Update info" name="%(action_view_update_partner_info)d"
<button id="action_view_update_partner_info" string="Update info" name="%(action_view_update_partner_info)d"
type="action" context="{'default_active_id': active_id}" groups="easy_my_coop.group_easy_my_coop_manager"/>
</header>
</sheet>

Loading…
Cancel
Save