summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-12-19 13:56:33 +0000
committerNicolas Martinelli <nim@odoo.com>2018-12-19 14:18:13 +0000
commit231c466abf3148ca3fe9ef47c23ea65f958b915c (patch)
treeba204a923efac8cf434692a429c9fd9a512c4cca /addons/web/static/src/xml/base.xml
parente6060dc7be00d39d65e537e17c3d8b149189e78e (diff)
[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
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions