From decbed094dced572b598a09aae23e71ce0246283 Mon Sep 17 00:00:00 2001 From: miad-odoo Date: Tue, 25 Oct 2022 08:34:23 +0000 Subject: [PATCH] [IMP] sale_crm: show opportunity in sale order view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit, the field opportunity_id was only visible in debug mode in the sale.order form view. It was correctly pointing to opportunities but, when used to create new records, it was creating leads instead. The field is now always visible so users can link sale orders and opportunities and a context was added so that the field correctly creates opportunities instead of leads. Task-3039802 closes odoo/odoo#104123 Signed-off-by: Warnon Aurélien (awa) --- addons/sale_crm/views/sale_order_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale_crm/views/sale_order_views.xml b/addons/sale_crm/views/sale_order_views.xml index 2cacb40bd73..0eba2abcf43 100644 --- a/addons/sale_crm/views/sale_order_views.xml +++ b/addons/sale_crm/views/sale_order_views.xml @@ -15,7 +15,7 @@ - +