mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-12-23 21:01:48 +00:00
25 lines
918 B
XML
25 lines
918 B
XML
|
<?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>)
|
||
|
-->
|
||
|
<flectra>
|
||
|
<record id="view_partner_form" 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>
|
||
|
</flectra>
|