From 2e5dc495bbdf975fc30763afd5893514108b3bdc Mon Sep 17 00:00:00 2001 From: "Lucas Perais (lpe)" Date: Wed, 25 Jul 2018 16:06:13 +0200 Subject: [PATCH] [FIX] sale: portal SO view no image if public Access a SO with the access token, without being logged Before this commit, the images of the so lines were the no image placeholder This was because the route of the image was so.line/product_image Since the token applies on SO, and not on its lines, nothing simple would work After this commit, we hide the image if the user is the public one OPW 1868916 closes #25973 --- addons/sale/views/sale_portal_templates.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/sale/views/sale_portal_templates.xml b/addons/sale/views/sale_portal_templates.xml index 3c518b9a755..70c6b60a3be 100644 --- a/addons/sale/views/sale_portal_templates.xml +++ b/addons/sale/views/sale_portal_templates.xml @@ -237,12 +237,13 @@
-
+
+