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.

21 lines
883 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2020 Tecnativa - Jairo Llopis
  3. License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
  4. <data>
  5. <record id="view_partner_form" model="ir.ui.view">
  6. <field name="name">Add button to see child contacts full form</field>
  7. <field name="model">res.partner</field>
  8. <field name="inherit_id" ref="base.view_partner_form" />
  9. <field name="arch" type="xml">
  10. <!-- Make child kanban able to open form in full view -->
  11. <xpath expr="//field[@name='child_ids']/kanban/templates//field[@name='name']" position="after">
  12. <button class="btn btn-link" type="object" name="open_child_form" title="Open full form">
  13. <i class="fa fa-external-link-square" />
  14. </button>
  15. </xpath>
  16. </field>
  17. </record>
  18. </data>