.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg :alt: License: AGPL-3 ==================================== Use email templates in notifications ==================================== This module was written to allow you to send notification rendered with an email template. Configuration ============= To configure this module, you need to: * go to Settings/Technical/Email/Subtypes * open the subtype for which you want to change the notification * select an email template * within the email template, ``object`` refers to the notification, from there you have access to the message the notification is for via ``${object.message_id}``, to the partner who is to be notified via ``${object.partner_id}`` and indirectly to the record the message is about via ``${object.record}``. To generate links to the record, use ``${object.record_access_link}``. Also have a look at the template assigned by default to the discussion subtype for the minimal fields you should set. Usage ===== .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot :target: https://runbot.odoo-community.org/runbot/205/8.0 For further information, please visit: * https://www.odoo.com/forum/help-1 Bug Tracker =========== Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback `here `_. Credits ======= Contributors ------------ * Holger Brunn Do not contact contributors directly about help with questions or problems concerning this addon, but use the `forum `_, the `community mailing list `_ or the `appropriate specialized mailinglist `_ for help, and the bug tracker linked in `Bug Tracker`_ above for technical issues. Maintainer ---------- .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org This module is maintained by the OCA. OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. To contribute to this module, please visit https://odoo-community.org.