diff options
| author | Thibault Delavallée <tde@odoo.com> | 2018-01-12 17:16:47 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-01-29 16:56:04 +0100 |
| commit | 885e7fcda9d6419502315d37ed5baa86f41433f9 (patch) | |
| tree | 682fd7e606eddeca146e78e420f17421e4dbc859 /addons/delivery/data | |
| parent | 2f6a661fe9bbd1aef29b8dfb9a46ded009a715ff (diff) | |
[REF] various: use secondary notification template
All those templates are basically the same except some bug fixes that
were not propagated about company. Let us use just the one we just
defined in the mail module.
Diffstat (limited to 'addons/delivery/data')
| -rw-r--r-- | addons/delivery/data/mail_template_data.xml | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/addons/delivery/data/mail_template_data.xml b/addons/delivery/data/mail_template_data.xml index 53e9bb17ae4..14e566c5213 100644 --- a/addons/delivery/data/mail_template_data.xml +++ b/addons/delivery/data/mail_template_data.xml @@ -26,50 +26,5 @@ <p>Thank you,</p> </field> </record> - - <template id="mail_notification_delivery"> -<table border="0" width="100%" cellpadding="0" bgcolor="#ededed" style="font-family:Arial,Helvetica,sans-serif; padding: 20px; background-color: #ededed" summary="o_mail_notification"> - <tbody><!-- HEADER --><tr> - <td align="center" style="min-width: 590px;"> - <table width="650" border="0" cellpadding="0" bgcolor="#875A7B" style="min-width: 590px; background-color: rgb(135,90,123); padding: 20px;"> - <tr><td valign="middle"> - <span style="font-size:20px; color:white; font-weight: bold;" t-field="message.record_name"/> - </td><td valign="middle" align="right"> - <img t-att-src="'/logo.png?company=%s' % company.id" style="padding: 0px; margin: 0px; height: auto; width: 80px;" t-att-alt="'%s' % company.name"/> - </td></tr> - </table> - </td> - </tr><!-- CONTENT --><tr> - <td align="center" style="min-width: 590px;"> - <table width="650" border="0" cellpadding="0" bgcolor="#ffffff" style="min-width: 590px; background-color: rgb(255, 255, 255); padding: 20px;"> - <tbody> - <td valign="top" style="color: #555; font-size: 14px;"><t t-raw="message.body"/></td> - </tbody> - </table> - </td> - </tr><!-- FOOTER --><tr> - <td align="center" style="min-width: 590px;"> - <table width="650" border="0" cellpadding="0" bgcolor="#875A7B" style="min-width: 590px; background-color: rgb(135,90,123); padding: 20px;"> - <tr><td valign="middle" align="left" style="color: #fff; padding-top: 10px; padding-bottom: 10px; font-size: 12px;"> - <t t-esc="company.name"/><br/> - <t t-esc="company.phone"/> - </td><td valign="middle" align="right" style="color: #fff; padding-top: 10px; padding-bottom: 10px; font-size: 12px;"> - <t t-if="company.email"> - <a t-att-href="'mailto:%s' % company.email" style="text-decoration:none; color: white;"><t t-esc="company.email"/></a><br/> - </t> - <t t-if="company.website"> - <a t-att-href="'%s' % company.website" style="text-decoration:none; color: white;"> - <t t-esc="company.website"/> - </a> - </t> - </td></tr> - </table> - </td> - </tr> - <tr> - <td align="center">Powered by <a href="https://www.odoo.com">Odoo</a>.</td> - </tr></tbody> -</table> - </template> </data> </odoo> |
