Merge pull request #2658 from expsa/task_11959

fix(odex25_website_event_track_gantt): Task 11959
This commit is contained in:
FathiaBMExp 2025-03-13 15:28:57 +01:00 committed by GitHub
commit 8852f24e96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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>