From 1bcaaaff7c2175a1f36c8b13da9dbb21b719d3ba Mon Sep 17 00:00:00 2001 From: Swapnesh Shah Date: Sat, 9 May 2020 15:55:47 +0000 Subject: [PATCH] [FIX] website_sale: check invitation scope based on website MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Try to Reproduce the Issue: Enable Multi Website My Website: Set `On invitation` (b2b) under Website settings. -- It will set `auth_signup.invitation_scope` to b2b My Website2 : Set `Free sign up` (b2c) under Website settings. -- It will set `auth_signup.invitation_scope` to b2c Place a Guest Order for Website one. `Sign Up` button will be visible as current Implementation is checking for ICP only. With this commit, We are checking Invitation Scope based on the Current Website. Fixes #50964 closes odoo/odoo#51037 X-original-commit: 608e8b4c4a11b569cf3ad7e7586c731bad108afa Signed-off-by: Jérémy Kersten (jke) --- addons/website_sale/views/templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index be1b318b30a..2ed0db774de 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -1504,7 +1504,7 @@ - +

Sign Up to follow your order.