Skip to main content

Apply a custom subject to mail notifications

Project description

Production/Stable License: AGPL-3 OCA/social Translate me on Weblate Try me on Runboat

This module allows you to specify templates to override the subject on the notification emails sent by Odoo

Table of contents

Configuration

  • Activate access to Technical Features (debug mode).

  • Go to Settings > Technical > Email > Subject Replacement Templates

  • Create a new template.

    • The field Model specifies the model to which the subject template should apply in the notification emails sent by Odoo.

    • The field Subject Template accepts Jinjah<ttps://jinja.palletsprojects.com/en/2.11.x/> expressions.

    • The field Replace specifies if the template should replace existing content or append to it.

Usage

To use this module, you need to:

  • Open the chatter in Odoo (e.g. Open an Invoice).

  • Send a message.

  • Observe the rendered Subject template.

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 to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tecnativa

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Current maintainer:

joao-p-marques

This module is part of the OCA/social project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo12_addon_mail_notification_custom_subject-12.0.1.0.0.99.dev8-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo12_addon_mail_notification_custom_subject-12.0.1.0.0.99.dev8-py3-none-any.whl
Algorithm Hash digest
SHA256 61c9cc4e66cb17c5c88bd47ad8924a95eb1296083c10ceda6531bb1322e1a568
MD5 0b1512d0d01dda629d1c59e07cea64bf
BLAKE2b-256 b9c4e7ebf4588a4eb22ba7fbf57129e55a30fc2af56085cce3efb136954d3e5a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page