Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 4 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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
odoo/odoo:
- web
- bus
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 IDNameModelTypeStatus
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_id Many2one → ir.model
    comodel_name='ir.model' help='Model where this template applies' ondelete='cascade' required=True
  • name Char
    string='Template Name'
  • position Selection
    default='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_template Char
    help='Subject (placeholders may be used here)' required=True translate=True
  • subject_to_replace Char
    help='The text that will be replaced. You can use placeholders. E.g.: {{ object.company_id.name }}'
  • subtype_ids Many2many → mail.message.subtype
    comodel_name='mail.message.subtype' required=True string='Applied Subtypes'
Public methods (0)

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…