fix(odex25_website_event_track_gantt): Task 11959

Enhancement.

Signed-off-by: FathiaBMExp <f.mohamed@exp-sa.com>
This commit is contained in:
FathiaBMExp 2025-03-13 15:27:57 +01:00
parent c25e2043b0
commit 6195352b90
2 changed files with 14 additions and 2 deletions

View File

@ -12,7 +12,19 @@
<attribute name="domain">[('is_sponsor','=',True)]</attribute>
</xpath>
<xpath expr="//field[@name='partner_id']" position="after">
<field name="contact_person"/>
<field name="contact_person" readonly="1"/>
</xpath>
<xpath expr="//field[@name='email']" position="attributes">
<attribute name="readonly">1</attribute>
</xpath>
<xpath expr="//field[@name='url']" position="attributes">
<attribute name="readonly">1</attribute>
</xpath>
<xpath expr="//field[@name='phone']" position="attributes">
<attribute name="readonly">1</attribute>
</xpath>
<xpath expr="//field[@name='mobile']" position="attributes">
<attribute name="readonly">1</attribute>
</xpath>
</field>
</record>

View File

@ -23,7 +23,7 @@
<attribute name="attrs">{'required': [('is_sponsor', '=', True)]}</attribute>
</xpath>
<field name="title" position="after">
<field name="contact_person"/>
<field name="contact_person" attrs="{'invisible': [('is_sponsor', '=', False)]}"/>
</field>
</field>
</record>