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.

32 lines
1.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com>
  3. Copyright 2017 Pedro M. Baeza <pedro.baeza@tecnativa.com>
  4. License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
  5. <odoo>
  6. <record id="view_partner_form" model="ir.ui.view">
  7. <field name="model">res.partner</field>
  8. <field name="inherit_id" ref="base.view_partner_form"/>
  9. <field name="arch" type="xml">
  10. <xpath expr="//notebook[1]">
  11. <page name="custom_info"
  12. string="Custom Information"
  13. groups="base_custom_info.group_partner">
  14. <group>
  15. <group>
  16. <field name="custom_info_template_id"
  17. options='{"no_quick_create": True}'
  18. />
  19. </group>
  20. <field name="custom_info_ids"
  21. colspan="4"
  22. nolabel="1"
  23. context="{'embed': True, 'tree_view_ref': 'base_custom_info.custom_info_value_tree_editable'}"
  24. />
  25. </group>
  26. </page>
  27. </xpath>
  28. </field>
  29. </record>
  30. </odoo>