From 8b384ae612e0462e5fe55a635e58be3acfbfccb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 24 Aug 2017 16:12:32 +0200 Subject: [PATCH] [FIX] portal: remove condition for customer details breaking tests Original commit e38de9dfa4c09f861253cb85643a47153d448e3c is about CSS classes and state code update. It is not clear why hiding Your Details in some cases improve the state code update. Forward port 017ee5eab376b4f09beb62812c1cbc682009ed86 broke the customer portal display using this condition. This commit fixes the customer portal by removing the condition. Second part of the original fix that was about using a correct base layout to render the your details page is already done in master since the customer portal cleaning. --- addons/portal/controllers/portal.py | 1 - addons/portal/views/portal_templates.xml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/portal/controllers/portal.py b/addons/portal/controllers/portal.py index b8e01be96c3..14edafba7b3 100644 --- a/addons/portal/controllers/portal.py +++ b/addons/portal/controllers/portal.py @@ -134,7 +134,6 @@ class CustomerPortal(Controller): values.update({ 'error': {}, 'error_message': [], - 'hide_current_user': True, }) if post: diff --git a/addons/portal/views/portal_templates.xml b/addons/portal/views/portal_templates.xml index 8c4e99809c5..87e566b874e 100644 --- a/addons/portal/views/portal_templates.xml +++ b/addons/portal/views/portal_templates.xml @@ -85,7 +85,7 @@
-
+