Commit Graph

26 Commits (16.0)

Author SHA1 Message Date
mymage 47ddd0ce2a Translated using Weblate (Italian)
Currently translated at 100.0% (5 of 5 strings)

Translation: social-16.0/social-16.0-mail_inline_css
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_inline_css/it/
2024-03-05 16:35:06 +00:00
Weblate 11c535bf34 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-16.0/social-16.0-mail_inline_css
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_inline_css/
2024-03-04 20:10:49 +00:00
OCA-git-bot 390e82af49 [BOT] post-merge updates 2024-03-04 19:09:23 +00:00
oca-ci 538dc9f193 [UPD] Update mail_inline_css.pot 2024-03-04 19:05:30 +00:00
sonhd91 f90908afeb [16.0][MIG] mail_inline_css: Migration to 16.0 2024-03-04 23:23:59 +07:00
Ruchir Shukla 1e11add2ff [MIG][15.0]mail_inline_css:Migration to 15.0 2024-03-04 23:23:38 +07:00
oca-git-bot dc15dd5eda [IMP] update dotfiles [ci skip] 2024-03-04 23:23:38 +07:00
OCA Transbot 75c8caade1 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-14.0/social-14.0-mail_inline_css
Translate-URL: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_inline_css/
2024-03-04 23:23:38 +07:00
Tran Thanh Phuc 4988a1400b [MIG] mail_inline_css: Migration to 14.0 2024-03-04 23:23:38 +07:00
Jairo Llopis 786f220dd1 [IMP] pre-commit run -a 2024-03-04 23:23:38 +07:00
OCA-git-bot 6cc64738d4 mail_inline_css 13.0.1.0.2 2024-03-04 23:23:38 +07:00
Simone Orsi ccc5b27793 mail_inline_css: fix transform hook
The mail module offers a better hook to manipulate html: `render_post_process`.
By using this, we make sure the transform is applied properly
before html tags sanitizing happens,
which can alter - if not screw - the final result.

Finally, it simplifies code :)
2024-03-04 23:23:38 +07:00
OCA-git-bot 138770fc39 mail_inline_css 13.0.1.0.1 2024-03-04 23:23:38 +07:00
Guewen Baconnier 6429d5faa6 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.
2024-03-04 23:23:38 +07:00
Simone Orsi 601f6ded4a [MIG] mail_inline_css: Migration to 13.0 2024-03-04 23:23:38 +07:00
Simone Orsi 1e146770cb [REF] mail_inline_css: apply pre-commit 2024-03-04 23:23:38 +07:00
OCA Transbot d3ae418457 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/
2024-03-04 23:23:38 +07:00
Simone Orsi e09f4f4ddd mail_inline_css: unify premailer transform apply 2024-03-04 23:23:38 +07:00
Simone Orsi 672132223c [MIG] mail_inline_css: Migration to 12.0 2024-03-04 23:23:38 +07:00
OCA-git-bot b409884c3f [ADD] icon.png 2024-03-04 23:23:38 +07:00
mpanarin 1067dbe414 [IMP] mail_inline_css: allow passing options to premailer 2024-03-04 23:23:38 +07:00
Timon Tschanz 147c7d286d [IMP] mail_inline_css: Improve and add test cov 2024-03-04 23:23:38 +07:00
Timon Tschanz 5905ab1131 [11.0][MIG] mail_inline_css 2024-03-04 23:23:38 +07:00
OCA Transbot 2c01f7cea8 OCA Transbot updated translations from Transifex 2024-03-04 23:23:38 +07:00
David Beal b73e213e84 IMP README use case 2024-03-04 23:23:38 +07:00
David Beal d7edb96e07 ADD module mail_inline_css 2024-03-04 23:23:38 +07:00