Browse Source

pre-commit update

14.0
OCA-git-bot 5 years ago
committed by newtratip
parent
commit
6368a0c854
  1. 12
      partner_contact_personal_information_page/views/res_partner.xml

12
partner_contact_personal_information_page/views/res_partner.xml

@ -1,17 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<!-- Declared the same in every module that may need it -->
<record id="personal_information" model="ir.ui.view">
<field name="name">Personal information page for contacts form</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="inherit_id" ref="base.view_partner_form" />
<field name="priority">2</field>
<field name="arch" type="xml">
<xpath expr="//page[@name='internal_notes']" position="after">
<page name="personal_information_page"
<page
name="personal_information_page"
string="Personal Information"
attrs="{'invisible': [('is_company','=',True)]}">
<group name="personal_information_group"/>
attrs="{'invisible': [('is_company','=',True)]}"
>
<group name="personal_information_group" />
</page>
</xpath>
</field>

Loading…
Cancel
Save