summaryrefslogtreecommitdiff
path: root/addons/account/data/mail_template_data.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-01-12 17:16:47 +0100
committerThibault Delavallée <tde@odoo.com>2018-01-29 16:56:04 +0100
commit885e7fcda9d6419502315d37ed5baa86f41433f9 (patch)
tree682fd7e606eddeca146e78e420f17421e4dbc859 /addons/account/data/mail_template_data.xml
parent2f6a661fe9bbd1aef29b8dfb9a46ded009a715ff (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/account/data/mail_template_data.xml')
-rw-r--r--addons/account/data/mail_template_data.xml60
1 files changed, 0 insertions, 60 deletions
diff --git a/addons/account/data/mail_template_data.xml b/addons/account/data/mail_template_data.xml
index 26e66bfe007..f461a271452 100644
--- a/addons/account/data/mail_template_data.xml
+++ b/addons/account/data/mail_template_data.xml
@@ -61,65 +61,5 @@ from ${object.company_id.name}.
</p>
</div></field>
</record>
-
- <!--Default Notification Email template for invoices-->
- <template id="mail_notification_invoice">
-<div>
-<table border="0" width="100%" cellpadding="0" bgcolor="#ededed" style="padding: 20px; background-color: #ededed; border-collapse:separate;" summary="o_mail_notification">
-<tbody>
- <!-- HEADER -->
- <tr>
- <td align="center" style="min-width: 590px;">
- <table width="590" border="0" cellpadding="0" bgcolor="#875A7B" style="min-width: 590px; background-color: rgb(135,90,123); padding: 20px; border-collapse:separate;">
- <tr><td valign="middle">
- <span style="font-size:20px; color:white; font-weight: bold;">
- Invoice <t t-esc="message.record_name"/>
- </span>
- </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="590" border="0" cellpadding="0" bgcolor="#ffffff" style="min-width: 590px; background-color: rgb(255, 255, 255); padding: 20px; border-collapse:separate;">
- <tbody><td valign="top" style="font-family:Arial,Helvetica,sans-serif; 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="590" border="0" cellpadding="0" bgcolor="#875A7B" style="min-width: 590px; background-color: rgb(135,90,123); padding: 20px; border-collapse:separate;">
- <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 target="_blank" href="https://www.odoo.com">Odoo</a>.
- </td>
- </tr>
-</tbody>
-</table>
-</div>
- </template>
-
</data>
</odoo>