diff options
| author | Jeremy Kersten <jke@odoo.com> | 2018-04-23 15:03:39 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2018-04-24 21:18:02 +0200 |
| commit | e6e07ec1a3d8c5b9c64dac053f45d808b29fca28 (patch) | |
| tree | 48f66b20324df83ddde9ca8b5f0add709ff07904 /addons/web/static/src | |
| parent | b9ce1affbf55bb81dde718af435e4763bd19c80c (diff) | |
[FIX] website_slide: avoid traceback when channel not readable
If the user has limited_access, download_security field was not read due to the
override of check_field_access_rights and so the field not set.
When you try to access/read it, you got: Selection is not iterable.
Now we check in sudo the download_security.
We also add the **kw that should be present in all routes.
Avoid: "slide_download() got an unexpected keyword argument 'debug'"
We also remove this controller from the sitemap.
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
