[FIX] crm: improve layout of conversion modal

When converting a lead to an opportunity and merging with existing
opportunities, the list view showing opportunities is very tiny.

This is caused by the field not having the correct colspan, as its label is
hidden with the "nolabel" attribute.

This commit fixes it by assigning a colpan of 2.

Task-3179173

closes odoo/odoo#119790

X-original-commit: 6a003a12c92d215f8123538473eeb23a36e9ec7e
Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
This commit is contained in:
thsh-odoo
2023-04-27 06:10:07 +02:00
committed by Aurélien Warnon
parent 8a55e1b4df
commit b8f847e03b
@@ -14,7 +14,7 @@
</group>
<group string="Opportunities" attrs="{'invisible': [('name', '!=', 'merge')]}">
<field name="lead_id" invisible="1"/>
<field name="duplicated_lead_ids" nolabel="1">
<field name="duplicated_lead_ids" colspan="2" nolabel="1">
<tree>
<field name="create_date" widget="date"/>
<field name="name"/>