[FIX] crm: always display UTM information on opportunity view
This commit fixes the crm.lead form view to always display UTM information when the lead is of type "opportunity". Before this change, the UTM information (as well as the 'referred' field) were only displayed for members of the 'base.group_multi_company', which did not make sense on a functional point of view. The 'company_id' field however, that is in the same form group, is still correctly displayed only for members of the 'base.group_multi_company' group. Task 2237318 closes odoo/odoo#50337 X-original-commit: d5b07b7c16cf7129f3231985ef607f02fb0c6475 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Signed-off-by: awa-odoo <awa-odoo@users.noreply.github.com>
This commit is contained in:
@@ -233,8 +233,9 @@
|
||||
<group string="Email" groups="base.group_no_one">
|
||||
<field name="message_bounce" readonly="1"/>
|
||||
</group>
|
||||
<group string="Tracking" groups="base.group_multi_company" name="categorization">
|
||||
<group string="Tracking" name="categorization">
|
||||
<field name="company_id"
|
||||
groups="base.group_multi_company"
|
||||
options="{'no_create': True}"/>
|
||||
<field name="campaign_id" />
|
||||
<field name="medium_id"/>
|
||||
|
||||
Reference in New Issue
Block a user