mail_template_data.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo><data noupdate="1">
  3. <record id="mail_template_data_track_confirmation" model="mail.template">
  4. <field name="name">Event: Track Confirmation</field>
  5. <field name="model_id" ref="website_event_track.model_event_track"/>
  6. <field name="subject">Confirmation of {{ object.name }}</field>
  7. <field name="use_default_to" eval="True"/>
  8. <field name="description">Sent to speakers whose track proposal is accepted (set the template on the right stage)</field>
  9. <field name="body_html" type="html">
  10. <div>
  11. Dear <t t-out="object.partner_id.name or object.partner_name or ''">Brandon Freeman</t><br/>
  12. We are pleased to inform you that your proposal <t t-out="object.name or ''">What This Event Is All About</t> has been accepted and confirmed for the event <t t-out="object.event_id.name or ''">OpenWood Collection Online Reveal</t>.
  13. <br/>
  14. You will find more details here:
  15. <div style="margin: 16px 0px 16px 0px;">
  16. <a t-attf-href="/event/{{ object.event_id.id }}/track/{{ object.id }}"
  17. style="padding: 8px 16px 8px 16px; font-size: 14px; color: #FFFFFF; text-decoration: none !important; background-color: #875A7B; border: 0px solid #875A7B; border-radius:3px">
  18. View Talk
  19. </a>
  20. </div>
  21. <br/><br/>
  22. Thank you,
  23. <t t-if="user.signature">
  24. <br />
  25. <t t-out="user.signature or ''">--<br/>Mitchell Admin</t>
  26. </t>
  27. </div></field>
  28. <field name="lang">{{ object.partner_id.lang }}</field>
  29. <field name="auto_delete" eval="True"/>
  30. </record>
  31. </data></odoo>