Commit Graph

21 Commits (80eb0afecd6e5569bdb3b4a33cf4fd46d65ee1a6)

Author SHA1 Message Date
OCA-git-bot 698b1a976a mail_inline_css 13.0.1.0.1 2020-08-27 15:20:22 +00:00
Guewen Baconnier 9309136848 Fix issue on empty template with premailer
If premailer receives an empty value, such as an empty string,
on parsing, it returns None and fails when trying to call
'etree.fromstring()' on this None result.

We should avoid to call premailer on an empty string, as the result
will anyway not change.

We may have an empty template for instance when a template could not
compile due to a mistake.
2020-08-27 15:17:51 +02:00
OCA-git-bot 266654ee47 [UPD] README.rst 2020-01-17 15:14:51 +00:00
oca-travis cf61ca2ce7 [UPD] Update mail_inline_css.pot 2020-01-17 15:08:06 +00:00
Simone Orsi 2e0487593a [MIG] mail_inline_css: Migration to 13.0 2020-01-17 15:10:43 +01:00
Simone Orsi 7216bc3d40 [REF] mail_inline_css: apply pre-commit 2020-01-17 15:10:43 +01:00
OCA Transbot 0b9bceb9ee Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_inline_css
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_inline_css/
2020-01-17 15:10:43 +01:00
OCA-git-bot 993ac9b28c [UPD] README.rst 2020-01-17 15:10:43 +01:00
oca-travis e382eb5daf [UPD] Update mail_inline_css.pot 2020-01-17 15:10:43 +01:00
Simone Orsi 8552c797ca mail_inline_css: unify premailer transform apply 2020-01-17 15:10:43 +01:00
Simone Orsi 5cc78ee308 [MIG] mail_inline_css: Migration to 12.0 2020-01-17 15:10:43 +01:00
OCA-git-bot b94d58b52f [UPD] README.rst 2020-01-17 15:10:43 +01:00
oca-travis 735cfe5f28 [UPD] Update mail_inline_css.pot 2020-01-17 15:10:43 +01:00
OCA-git-bot 4cd227e8da [ADD] icon.png 2020-01-17 15:10:43 +01:00
mpanarin 53127dad71 [IMP] mail_inline_css: allow passing options to premailer 2020-01-17 15:10:43 +01:00
Timon Tschanz 017000413b [IMP] mail_inline_css: Improve and add test cov 2020-01-17 15:10:43 +01:00
Timon Tschanz 4e8846191d [11.0][MIG] mail_inline_css 2020-01-17 15:10:43 +01:00
oca-travis d7c7c6f420 [UPD] Update mail_inline_css.pot 2020-01-17 15:10:43 +01:00
OCA Transbot ee235ebcd1 OCA Transbot updated translations from Transifex 2020-01-17 15:10:43 +01:00
David Beal b5255aefe5 IMP README use case 2020-01-17 15:10:43 +01:00
David Beal 98b995c95c ADD module mail_inline_css 2020-01-17 15:10:43 +01:00