diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-12-19 13:56:33 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2018-12-19 14:18:13 +0000 |
| commit | 231c466abf3148ca3fe9ef47c23ea65f958b915c (patch) | |
| tree | ba204a923efac8cf434692a429c9fd9a512c4cca /addons/web/static/src/xml/base.xml | |
| parent | e6060dc7be00d39d65e537e17c3d8b149189e78e (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
