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.

26 lines
1023 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
  12. expr="//field[@name='child_ids']/kanban/templates//field[@name='name']"
  13. position="after"
  14. >
  15. <button
  16. class="btn btn-link"
  17. type="object"
  18. name="open_child_form"
  19. title="Open full form"
  20. >
  21. <i class="fa fa-external-link-square" />
  22. </button>
  23. </xpath>
  24. </field>
  25. </record>
  26. </data>