Mail Notification Custom Subject
mail_notification_custom_subject · OCA/mail
OCA/social 12.0–17.0 → OCA/mail 18.0–19.0
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 4 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 8 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
0 migration notes
2 models
2 views
0 HTTP endpoints
Description
This module allows you to specify templates to override the subject on the notification emails sent by Odoo
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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.list | 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=True -
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, *args, subject=None, subtype_xmlid=None, subtype_id=False, **kwargs)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…