update for v17

v17.0
Brenden Eshbach 2025-01-04 17:44:53 -06:00
parent 8b96632313
commit 415a70cdd8
2 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@
'website': "https://erp.techsystech.io",
'category': 'Project',
'version': '1.0',
'version': '17.0.0.1',
'depends': ['base', 'project'],

View File

@ -5,10 +5,10 @@
<field name="inherit_id" ref="project.view_task_form2"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='partner_id']" position="after">
<field name="customer_phone_id" widget="phone" attrs="{'invisible': [('customer_phone_id', '=', False)]}"/>
<field name="customer_mobile_id" widget="phone" attrs="{'invisible': [('customer_mobile_id', '=', False)]}"/>
<field name="customer_email_id" widget="email" attrs="{'invisible': [('customer_email_id', '=', False)]}"/>
</xpath>
<field name="customer_phone_id" widget="phone" invisible="customer_phone_id == False" />
<field name="customer_mobile_id" widget="phone" invisible="customer_mobile_id == False" />
<field name="customer_email_id" widget="email" invisible="customer_email_id == False" />
</xpath>
</field>
</record>
</odoo>