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.

18 lines
861 B

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data noupdate="1">
  4. <record id="template" model="email.template">
  5. <field name="name">Template for discussion notifications</field>
  6. <field name="model_id" ref="mail.model_mail_notification" />
  7. <field name="subject">${object.message_id.subject|safe}</field>
  8. <field name="body_html"><![CDATA[
  9. <h2>Dear ${object.partner_id.name},</h2>
  10. <p>there's a new message on <a href="${object.record_access_link}">${object.record.name}</a>:</p>
  11. ${object.message_id.body|safe}
  12. ]]>
  13. </field>
  14. <field name="email_from">${object.message_id.email_from|safe}</field>
  15. <field name="partner_to">${object.partner_id.ids|join(',')}</field>
  16. </record>
  17. </data>
  18. </openerp>