Mail Template Substitute
mail_template_substitute · OCA/mail
OCA/social 12.0–17.0 → OCA/mail 18.0–19.0
Health
75/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 8 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 5 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.05 MB
Module directory on disk
Code analysis
0 migration notes
4 models
1 view
0 HTTP endpoints
Description
This module allows you to create substitution rules for mail templates. A typical use case is to replace a standard template by alternative templates when some conditions are met. For instance, it allows to configure alternate templates for different companies.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
email_template_form |
mail.template.form (in mail_template_substitute) | mail.template | form | Inherits mail.email_template_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
default_get(self, fields)@api.model
New fields (1)
-
mail_template_substitution_rule_idsOne2many → mail.template.substitution.rulecomodel_name='mail.template.substitution.rule'inverse_name='mail_template_id'string='Substitution Rules'
No public methods.
New fields (5)
-
domainChardefault='[]'required=True -
mail_template_idMany2one → mail.templatecomodel_name='mail.template'ondelete='cascade'required=True -
modelCharrelated='mail_template_id.model_id.model'store=True -
sequenceIntegerdefault=10 -
substitution_mail_template_idMany2one → mail.templatecomodel_name='mail.template'domain="[('model', '=', model)]"ondelete='cascade'required=True
No public methods.
Loading…
Loading…
Loading…
Loading…