odoo/openerp
FalcoBolger 95b921d0f7 [FIX] website: move support for ir.attachment resources to web module
Commit 540b753bf8 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
2015-03-26 17:33:19 +01:00
..
addons [FIX] website: move support for ir.attachment resources to web module 2015-03-26 17:33:19 +01:00
cli [FIX] Scaffolding: moved two files to better reflect the architecture we currently use for our themes 2015-03-02 16:38:35 +01:00
conf [MERGE] openerp.pooler is deprecated. 2013-03-27 17:40:45 +01:00
modules [IMP] registry: adapt LRU sizes for registries and ormcache 2015-03-23 14:36:15 +01:00
osv [IMP] fields: avoid redundant slot in class many2one 2015-03-23 14:36:15 +01:00
report [MERGE] forward port of branch saas-3 up to b3f3daf 2015-01-23 13:28:17 +01:00
service [IMP] registry: adapt LRU sizes for registries and ormcache 2015-03-23 14:36:15 +01:00
tests [FIX] phantomjs 2.0 compatibility 2015-02-26 15:08:17 +01:00
tools [FIX] method `ir_model.check` now decorated with `ormcache_context` 2015-03-26 17:14:42 +01:00
workflow [IMP] workflow: add sequence for ordering workflow transitions (split/join mode especially for XOR) 2014-08-05 12:26:28 +02:00
PKG-INFO [REM] netrpc: KILL EVERYBODY 2013-02-21 13:18:25 +01:00
__init__.py [IMP] fields: turn field.digits and column.digits into dynamic properties 2015-03-23 14:36:15 +01:00
api.py [FIX] api: environment recomputation 2015-02-12 14:57:31 +01:00
exceptions.py [ADD] doc: new documentation, with training tutorials, and new scaffolding 2014-08-22 17:51:20 +02:00
fields.py [IMP] fields: simplify the definition of `__slots__` via the `Field` metaclass 2015-03-23 14:36:15 +01:00
http.py [FIX] http: support old version of psutil 2015-03-01 02:17:04 +01:00
import_xml.rng [MERGE] ir-ui-view split active and show_customize 2014-08-31 16:56:44 +02:00
loglevels.py [REF] logging: removed pseudo log-level TEST. 2013-03-26 16:58:44 +01:00
models.py [IMP] models: avoid using `map` instead of a `for` loop (thanks chs@odoo.com) 2015-03-23 14:36:15 +01:00
netsvc.py [FIX] logging: dont use color in windows cmd 2015-01-09 01:45:41 +01:00
pooler.py [IMP] registry: avoid every direct access registry.db, and rename attribute as registry._db 2014-04-09 15:35:15 +02:00
release.py [REL] Odoo 8.0 2014-09-18 12:11:18 +02:00
sql_db.py [MERGE] forward port of branch saas-3 up to 30674c3 2014-12-23 14:03:38 +01:00