diff options
| author | Jeremy Kersten <jke@odoo.com> | 2016-08-19 18:21:04 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2016-08-19 18:31:01 +0200 |
| commit | 54e4f3f96b0a93bbdee5cdffd6f671b812644a67 (patch) | |
| tree | 5c4d2535c6ca4f241465e7274741e43811c32022 /addons/web_planner | |
| parent | d7939282e906cd547db837770f139a6ab02f19ff (diff) | |
[FIX] web: allow to use content_disposable without registry
When a user connect to /web/database/manager directly without the
login page before, the request don't have registry.
When the user click to backup a db, a traceback was raised:
return request.registry['ir.http'].content_disposition(filename)
TypeError: 'NoneType' object has no attribute 'getitem'
Because it was impossible to call content_diposable from ir_http
without registry.
Now content disposable has been moved in http.py and is callable from
anywhere.
This commit closes #13192
This commit closes #11583
Diffstat (limited to 'addons/web_planner')
0 files changed, 0 insertions, 0 deletions
