You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.5 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2017 ACSONE SA/NV
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  4. <odoo>
  5. <record model="ir.ui.view" id="res_partner_bank_form_view">
  6. <field name="name">res.partner.bank.form (in partner_bank_active)</field>
  7. <field name="model">res.partner.bank</field>
  8. <field name="inherit_id" ref="base.view_partner_bank_form"/>
  9. <field name="arch" type="xml">
  10. <group col="4" position="before">
  11. <div class="oe_button_box" name="button_box">
  12. <button name="toggle_active" type="object"
  13. class="oe_stat_button" icon="fa-archive">
  14. <field name="active" widget="boolean_button"
  15. options='{"terminology": "archive"}'/>
  16. </button>
  17. </div>
  18. </group>
  19. </field>
  20. </record>
  21. <record model="ir.ui.view" id="res_partner_bank_search_view">
  22. <field name="name">res.partner.bank.search (in (partner_bank_active)</field>
  23. <field name="model">res.partner.bank</field>
  24. <field name="inherit_id" ref="base.view_partner_bank_search"/>
  25. <field name="arch" type="xml">
  26. <field name="partner_id" position="after">
  27. <separator/>
  28. <filter name="archived" string="Archived" domain="[('active', '=', False)]"/>
  29. </field>
  30. </field>
  31. </record>
  32. </odoo>