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.

24 lines
851 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <data>
  4. <!-- Declared the same in every module that may need it -->
  5. <record id="personal_information" model="ir.ui.view">
  6. <field name="name">Personal information page for contacts form</field>
  7. <field name="model">res.partner</field>
  8. <field name="inherit_id" ref="base.view_partner_form"/>
  9. <field name="priority">2</field>
  10. <field name="arch" type="xml">
  11. <data>
  12. <xpath expr="//page[@name='internal_notes']" position="after">
  13. <page name="personal_information_page"
  14. string="Personal Information"
  15. attrs="{'invisible': [('is_company','=',True)]}">
  16. <group name="personal_information_group"/>
  17. </page>
  18. </xpath>
  19. </data>
  20. </field>
  21. </record>
  22. </data>
  23. </odoo>