Mail Template - Styling

by
Odoo
v 10.0 v 11.0 v 12.0 Third Party 268
Download for v 11.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 139
Technical Name mail_template_styling
LicenseLGPL-3
Websitehttps://www.novacode.nl
Versions 10.0 11.0 12.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 139
Technical Name mail_template_styling
LicenseLGPL-3
Websitehttps://www.novacode.nl
Versions 10.0 11.0 12.0

Mail Template Styling

Universally manage and style mail templates sent from Odoo

Features:
  • Manage and assign stylesheets (CSS) to Mail Templates, all within Odoo.
  • Optionally strip the original inline-styling during rendering. This doesn't alter the Mail Template body, it's just post-processing during rendering-time. So original Odoo and 3rd party templates stay unchanged.
  • Optionally print the Mail Template ID below the actual message.

Manage stylesheets (CSS)

Menu: Settings / Technical / Email / Template Styles

List stylesheets

Edit stylesheet

Edit mail template with styling

Installation notes

A bit of system adminsitration is required

Python dependency: premailer

Required to transform the stylesheet/CSS into inline style attributes into the mail body HTML.

Install on command-line with: pip(3) install premailer

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.