Denis Ledoux c3ee6e6c1d [FIX] website_mail: mass mailing with fontawesome on GMail
- GMail caches the images contained in emails
 - It seems to take the opportunity to replace `%20` by `+` in the images URLs
 - Werkzeug doesn't seem to handle '+' in URL as spaces (at least not as a %20)
   (See https://github.com/mitsuhiko/werkzeug/pull/756)

When inserting a fontawesome character/image,
there are spaces in the CSS color,
e.g. `rgb(255, 255, 255)`.
And window.encodeURI, doing its job, encode this as
`rgb(255,%20255,%20255)`
This, in the URL, is supported by Werkzeug.
However, Google changes this to
`rgb(255,+255,+255)`
which is not supported by Werkzeug.

The fontawesome images were therefore not available in
mass mailing sent to GMail addresses.

This revision removes the spaces from the CSS color.
This is not the best fix, but
 - We cannot really ask Google to not change %20 by +
 - We cannot afford to wait the support of the '+' as spaces in Werkzeug

opw-648456
2015-09-02 16:16:32 +02:00
2015-02-08 23:00:10 +01:00
2015-04-07 22:08:31 +02:00
…
…
2015-07-13 15:07:48 +02:00

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

If you are a developer you may type the following command at your terminal:

wget -O- https://raw.githubusercontent.com/odoo/odoo/master/odoo.py | python

Then follow the developer tutorials

For Odoo employees

To add the odoo-dev remote use this command:

$ ./odoo.py setup_git_dev

To fetch odoo merge pull requests refs use this command:

$ ./odoo.py setup_git_review
S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%