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.

55 lines
2.7 KiB

  1. <openerp>
  2. <!-- Mail template are declared in a NOUPDATE block
  3. so users can freely customize/delete them -->
  4. <data noupdate="0">
  5. <record id="email_template_tax_shelter_certificate" model="mail.template">
  6. <field name="name">Tax Shelter Certificate - Send By Email</field>
  7. <field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field>
  8. <field name="subject">Tax Shelter Certificate</field>
  9. <field name="partner_to">${object.partner_id.id}</field>
  10. <field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field>
  11. <field name="model_id" ref="model_tax_shelter_certificate"/>
  12. <field name="auto_delete" eval="True"/>
  13. <field name="lang">${object.lang}</field>
  14. <field name="body_html"><![CDATA[
  15. <div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; ">
  16. <p>Hello ${object.partner_id.name},</p>
  17. <p>You have subscribed to some shares of ${object.company_id.name} on ${object.declaration_id.fiscal_year}.
  18. You can benefit from the tax shelter, it means a tax reduction of ${object.declaration_id.tax_shelter_percentage} percent on the invested amount.
  19. For this you will find in attachments the documents certifying that you've suscribed to ${object.company_id.name} shares</p>
  20. <p>A dedicated FAQ is coming soon on ${object.company_id.website}.</p>
  21. <p>For any additional questions, please contact ${object.company_id.coop_email_contact}</p>
  22. <p>Sustainably your,</p>
  23. <p>${object.company_id.name}.</p>
  24. % if object.company_id.street:
  25. ${object.company_id.street}
  26. % endif
  27. % if object.company_id.street2:
  28. ${object.company_id.street2}<br/>
  29. % endif
  30. % if object.company_id.city or object.company_id.zip:
  31. ${object.company_id.zip} ${object.company_id.city}<br/>
  32. % endif
  33. % if object.company_id.country_id:
  34. ${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/>
  35. % endif
  36. % if object.company_id.phone:
  37. Phone:&nbsp; ${object.company_id.phone}
  38. % endif
  39. % if object.company_id.website:
  40. <div>
  41. Web :&nbsp;<a href="${object.company_id.website}">${object.company_id.website}</a>
  42. </div>
  43. %endif
  44. <div>
  45. <img src=${object.company_id.logo_web}>
  46. </div>
  47. </div>
  48. ]]></field>
  49. </record>
  50. </data>
  51. </openerp>