TIP: You can type at any time to perform a new search.
Mail Notification Custom Subject
mail_notification_custom_subject · OCA/mail
- Repository
- OCA/mail · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Social Network
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/mail
- Last tracking update
- 2026-08-07 08:42:57
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Pedro M. Baeza, Sander Lienaerts, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module allows you to specify templates to override the subject on the notification emails sent by Odoo
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mail_notification_custom_subject_form |
mail.message.custom.subject.form | mail.message.custom.subject | form | New |
mail_notification_custom_subject_tree |
mail.message.custom.subject.tree | mail.message.custom.subject | list | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (6)
-
model_idMany2one → ir.modelcomodel_name='ir.model'help='Model where this template applies'ondelete='cascade'required=Truestring='Model' -
nameCharstring='Template Name' -
positionSelectiondefault='replace'help='Whether to replace completely, partially, append at beginning or append at end to other templates that apply to a given context'selection=[('append_before', 'Append Before'), ('append_after', 'Append After'), ('replace', 'Replace'), ('inside_replace', 'Partial Replacement')] -
subject_templateCharhelp='Subject (placeholders may be used here)'required=Truetranslate=True -
subject_to_replaceCharhelp='The text that will be replaced. You can use placeholders. E.g.: {{ object.company_id.name }}' -
subtype_idsMany2many → mail.message.subtypecomodel_name='mail.message.subtype'required=Truestring='Applied Subtypes'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
message_post(self, *, body='', subject=None, message_type='notification', email_from=None, author_id=None, parent_id=False, subtype_xmlid=None, subtype_id=False, partner_ids=None, attachments=None, attachment_ids=None, body_is_html=False, **kwargs)@api.returns('mail.message', <expr>)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 49 days ago
- Last activity
- 41 days ago
- Repository
- OCA/mail
- Pull request
- [19.0][MIG] mail_notification_custom_subject: Migration to 19.0 (#221)