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
935 B
24 lines
935 B
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!-- License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
|
Copyright 2015 Grupo ESOC Ingeniería de Servicios, S.L.U.
|
|
Copyright 2019-2020: Druidoo (<https://www.druidoo.io>)
|
|
-->
|
|
<odoo>
|
|
<record id="view_personal_information_birthdate_date" model="ir.ui.view">
|
|
<field name="name">Birthdate Date field</field>
|
|
<field name="model">res.partner</field>
|
|
<field
|
|
name="inherit_id"
|
|
ref="partner_contact_personal_information_page.personal_information"
|
|
/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//group[@name='personal_information_group']">
|
|
<field name='birthdate_date' />
|
|
<field
|
|
name="age"
|
|
attrs="{'invisible': [('birthdate_date', '=', False)]}"
|
|
/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|