From 10070f4cde0c0f62bce66073d947937dc2d6e1ec Mon Sep 17 00:00:00 2001 From: "Shaan Thakkar (THSH)" Date: Tue, 21 Nov 2023 14:14:27 +0530 Subject: [PATCH] [FIX] website_crm_partner_assign: error on opportunity page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Steps to Reproduce =================== 1). Create an opportunity, and give it a new contact  2). ​Set Joel Willis as the reseller (needs a partner grade for that) 3). ​Log in as Joel, and try to open this opportunity through the portal -> Access Error 403 Technical ========== We are trying to show the avatar of the partner because a portal user doesn't have access to see the avatar so 403 forbidden errors occur. This problem occurred after this commit: https://github.com/odoo/odoo/commit/df8535fbd40e1e5c09dbe616a3332c76c23525c8 After this commit ================= Now portal user can see the opportunity. Task-3580254 closes odoo/odoo#144113 Signed-off-by: Warnon Aurélien (awa) --- .../views/website_crm_partner_assign_templates.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/website_crm_partner_assign/views/website_crm_partner_assign_templates.xml b/addons/website_crm_partner_assign/views/website_crm_partner_assign_templates.xml index 14be5b80be6..a82422a46e8 100644 --- a/addons/website_crm_partner_assign/views/website_crm_partner_assign_templates.xml +++ b/addons/website_crm_partner_assign/views/website_crm_partner_assign_templates.xml @@ -666,8 +666,8 @@ Customer
- Contact