From 231c466abf3148ca3fe9ef47c23ea65f958b915c Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Wed, 19 Dec 2018 13:56:33 +0000 Subject: [PATCH] [FIX] portal: multi-company logo When using: ``` t-field="res_company.logo" t-options="{'widget': 'image'}" ``` the widget generates a `/web/content/` URL, which ultimately checks the access rights in method `binary_content`. This means that if the user doesn't have the `read` access rights on `res_company`, the logo won't be displayed. We use the `/logo.png` route instead since it bypasses the access rights. opw-1913665 --- addons/portal/views/portal_templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/portal/views/portal_templates.xml b/addons/portal/views/portal_templates.xml index 95d3669e34a..623c57170b8 100644 --- a/addons/portal/views/portal_templates.xml +++ b/addons/portal/views/portal_templates.xml @@ -28,7 +28,7 @@