[IMP] crm,event_crm: add foldable to domain field

In this commit, we add the 'foldable' option to the domain widget in crm and
event_crm.

Task-3458063

closes odoo/odoo#132008

Related: odoo/enterprise#45768
Signed-off-by: Jérémy Hennecart (jeh) <jeh@odoo.com>
This commit is contained in:
miad-odoo
2023-10-19 11:59:47 +00:00
parent 470715e552
commit f4f85cbc98
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -194,7 +194,7 @@
</div>
</div>
<field name="assignment_domain" widget="domain" string="Domain"
options="{'model': 'crm.lead', 'in_dialog': True}"
options="{'foldable': True, 'model': 'crm.lead', 'in_dialog': True}"
invisible="not assignment_enabled"/>
<field name="assignment_optout" invisible="not assignment_auto_enabled"/>
</xpath>
@@ -61,7 +61,7 @@
</group>
</group>
<group string="If the Attendees meet these Conditions">
<field name="event_registration_filter" widget="domain" options="{'model': 'event.registration'}" nolabel="1" colspan="2"/>
<field name="event_registration_filter" widget="domain" options="{'foldable': True, 'model': 'event.registration'}" nolabel="1" colspan="2"/>
</group>
<group string="Lead Default Values">
<group class="col">