fix(odex25_website_event_track_gantt): Task 11959
Enhancement. Signed-off-by: FathiaBMExp <f.mohamed@exp-sa.com>
This commit is contained in:
parent
c25e2043b0
commit
6195352b90
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue