From f86f55f1ef046ecd3c0012f23b69ec2c9d770a3a Mon Sep 17 00:00:00 2001 From: Renaud Thiry Date: Thu, 8 Jun 2023 07:22:18 +0000 Subject: [PATCH] [IMP] crm: ask for loss reason in leads too In odoo/odoo#118494 we made it possible to set a loss reason on a lead from the list view action. However this did not update the behavior of the form view button. As we remove the 'set reason' suggestion in this PR (odoo/odoo#124103) It makes sense to update the form action to behave the same way as the list view one. task-3356095 closes odoo/odoo#124437 X-original-commit: 4a2534c8eda1b005e1a09a389fc77dcf7b3547fa Signed-off-by: Thibault Delavallee (tde) Signed-off-by: Thiry Renaud (reth) --- addons/crm/views/crm_lead_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/views/crm_lead_views.xml b/addons/crm/views/crm_lead_views.xml index 54a8cc06370..bc3a92e7629 100644 --- a/addons/crm/views/crm_lead_views.xml +++ b/addons/crm/views/crm_lead_views.xml @@ -15,7 +15,7 @@ class="oe_highlight" attrs="{'invisible': ['|', ('type', '=', 'opportunity'), ('active', '=', False)]}" data-hotkey="v"/>