Browse Source

partner_bank_active: use the nice active button (instead of the field)

pull/737/head
Alexis de Lattre 6 years ago
committed by Thomas Binsfeld
parent
commit
7c73dba095
  1. 12
      partner_bank_active/views/res_partner_bank.xml

12
partner_bank_active/views/res_partner_bank.xml

@ -10,9 +10,15 @@
<field name="inherit_id" ref="base.view_partner_bank_form"/>
<field name="arch" type="xml">
<field name="company_id" position="after">
<field name="active"/>
</field>
<group col="4" position="before">
<div class="oe_button_box" name="button_box">
<button name="toggle_active" type="object"
class="oe_stat_button" icon="fa-archive">
<field name="active" widget="boolean_button"
options='{"terminology": "archive"}'/>
</button>
</div>
</group>
</field>
</record>

Loading…
Cancel
Save