odoo/openerp
Nicolas Lempereur 37959d45f3 [FIX] qweb: css minified in multiple page for IE
On internet explorer 6, 7, 8 and 9, the limit of CSS rules in a stylesheet is
4095 (http://blogs.msdn.com/b/ieinternals/archive/2011/05/14/10164546.aspx).

This commit breaks down a CSS bundle in several pages for these IE versions.

To do this, the CSS tag added is of the kind : /web/css.0/{xmlid}/{version} in
which there is:

- the whole CSS if there is no more than one page,
- a list of @import pointing to the multiple pages.

note: if a modification lowers the number of page, an old page may stay in
ir_attachment (e.g: go from 4 to 3 pages, the old 4th page of another version
will not be deleted untill the number goes again up to 4).

Note: the method css(self) previously returned an unicode variable (the first
time) or an str variable (the following times, if already cached), the fix
also correct this so an str variable is always returned.

fixes #5050

opw-627116
2015-04-07 09:56:44 +02:00
..
addons [FIX] qweb: css minified in multiple page for IE 2015-04-07 09:56:44 +02: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 [FIX] core: ormcache is now per regisry. 2015-04-03 16:11:57 +02: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 [FIX] db manager: do not use registry to backup a database 2015-04-02 10:10:04 +02:00
tests [FIX] phantomjs 2.0 compatibility 2015-02-26 15:08:17 +01:00
tools [FIX] core: correct LRU cleaning 2015-04-03 16:33:18 +02: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 [FIX] core: ormcache is now per regisry. 2015-04-03 16:11:57 +02: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