diff options
| author | FalcoBolger <vta@openerp.com> | 2015-03-26 11:44:01 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2015-03-26 17:33:19 +0100 |
| commit | 95b921d0f7cffd3b2546db8949f3c30b2b120335 (patch) | |
| tree | 66d19134e98ad84b77c8fdeb6ac389ca081ea32f /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | c58121e8f151b8a90d69a7c99e15ccc6a43b06ab (diff) | |
[FIX] website: move support for ir.attachment resources to web module
Commit 540b753bf84f118b6863bac699f52c2c418a7f30 introduced
support for resources stored as ir.attachment records in
asset bundles too.
This is specifically useful for customizations.
However the HTTP route for reaching those resources
when they are *not* in a bundle was originally created
in the `website` module (as a special handling for
404 requests)
This means that these dynamic resources would only
be partially supported when `website` is not installed,
causing various problems:
- missing resources in debug mode where bundles are skipped
- errors when trying to define new client-side Qweb templates
via XML resources - which are loaded with a direct request
- ...
This commit moves back the supporting code to the web module.
The `mimetype` column is not present in ir.attachment without
the `website` module, but sniffing it based on the attachment
name works fine at serving time too.
Closes #6002
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
