TIP: You can type at any time to perform a new search.
Mail Template Domain
mail_template_domain · OCA/mail
- Repository
- OCA/mail · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Technical
- Folder size
- 0.04 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
- Víctor Martínez, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module allows setting an application domain on mail templates. When a domain is configured on a template, that template will only appear in the email composer when the active record matches the domain. Templates without a domain continue to appear for all records of the applicable model.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
email_template_form_filter_domain |
mail.template.form.filter.domain | mail.template | form | Inherits mail.email_template_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (2)
-
domain_template_idBinarycompute='_compute_domain_template_id' -
template_idMany2onedomain='domain_template_id'
No public methods.
New fields (2)
-
filter_domainCharcompute='_compute_filter_domain'help='If set, this template will only appear in the email composer when the active record matches this domain.'readonly=Falsestore=Truestring='Restrict domain' -
filter_modelBooleanstring='Restrict?'
No public methods.
Loading…