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.

71 lines
2.6 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :alt: License: AGPL-3
  3. ====================================
  4. Use email templates in notifications
  5. ====================================
  6. This module was written to allow you to send notification rendered with an
  7. email template.
  8. Configuration
  9. =============
  10. To configure this module, you need to:
  11. * go to Settings/Technical/Email/Subtypes
  12. * open the subtype for which you want to change the notification
  13. * select an email template
  14. * within the email template, ``object`` refers to the notification,
  15. from there you have access to the message the notification is for via
  16. ``${object.message_id}``, to the partner who is to be notified via
  17. ``${object.partner_id}`` and indirectly to the record the message is
  18. about via ``${object.record}``. To generate links to the record, use
  19. ``${object.record_access_link}``.
  20. Also have a look at the template assigned by default to the discussion subtype
  21. for the minimal fields you should set.
  22. Usage
  23. =====
  24. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  25. :alt: Try me on Runbot
  26. :target: https://runbot.odoo-community.org/runbot/205/8.0
  27. For further information, please visit:
  28. * https://www.odoo.com/forum/help-1
  29. Bug Tracker
  30. ===========
  31. Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.
  32. In case of trouble, please check there if your issue has already been reported.
  33. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  34. `here <https://github.com/OCA/social/issues/new?body=module:%20mail_notification_email_template%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  35. Credits
  36. =======
  37. Contributors
  38. ------------
  39. * Holger Brunn <hbrunn@therp.nl>
  40. Do not contact contributors directly about help with questions or problems concerning this addon, but use the `forum <https://www.odoo.com/forum/help-1>`_, the `community mailing list <mailto:community@mail.odoo.com>`_ or the `appropriate specialized mailinglist <https://odoo-community.org/groups>`_ for help, and the bug tracker linked in `Bug Tracker`_ above for technical issues.
  41. Maintainer
  42. ----------
  43. .. image:: https://odoo-community.org/logo.png
  44. :alt: Odoo Community Association
  45. :target: https://odoo-community.org
  46. This module is maintained by the OCA.
  47. OCA, or the Odoo Community Association, is a nonprofit organization whose
  48. mission is to support the collaborative development of Odoo features and
  49. promote its widespread use.
  50. To contribute to this module, please visit https://odoo-community.org.