You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
1.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo noupdate="1">
  3. <record id="attachment_failure_notification" model="mail.template">
  4. <field name="email_to">${object.failure_emails}</field>
  5. <field name="name">Attachment Failure notification</field>
  6. <field name="subject">The attachment ${object.name} has failed</field>
  7. <field name="model_id" ref="attachment_queue.model_attachment_queue"/>
  8. <field name="body_html"><![CDATA[
  9. <p style="margin:0px 0px 10px 0px;font-size:13px;font-family:&quot;Lucida Grande&quot;, Helvetica, Verdana, Arial, sans-serif;">Hello,<br><br></p>
  10. <p style="margin:0px 0px 10px 0px;font-size:13px;font-family:&quot;Lucida Grande&quot;, Helvetica, Verdana, Arial, sans-serif;">The attachment ${object.name} has failed with the following error message : <br>${object.state_message}<br></p><p style="margin:0px 0px 10px 0px;font-size:13px;font-family:&quot;Lucida Grande&quot;, Helvetica, Verdana, Arial, sans-serif;"></p>
  11. <p style="margin:0px 0px 10px 0px;font-size:13px;font-family:&quot;Lucida Grande&quot;, Helvetica, Verdana, Arial, sans-serif;">Regards,<br></p>
  12. ]]></field>
  13. </record>
  14. </odoo>