Mail Template Language Specific Attachments
mail_template_attachment_i18n · OCA/server-tools
Renamed to mail_template_attachment_per_lang in 17.0
Health
51/100
fair
-
Security22/251 minor finding
-
Activity12/25Last human commit 14 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 11.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
1 migration note
2 models
1 view
0 HTTP endpoints
Migration considerations
mail_template_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
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 |
|---|---|---|---|---|
mail_template_form |
mail.template.form | mail.template | form | Inherits mail.email_template_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (3)
-
attachment_idMany2one → ir.attachmentcomodel_name='ir.attachment'ondelete='cascade'required=Truestring='Attachment' -
langSelectionrequired=Trueselection=<expr>string='Language' -
mail_template_idMany2one → mail.templatecomodel_name='mail.template'ondelete='cascade'required=Truestring='Template'
No public methods.
New fields (2)
-
ir_attachment_language_idsOne2many → ir.attachment.languagecomodel_name='ir.attachment.language'inverse_name='mail_template_id'string='Language Dependent Attachments' -
ir_attachment_language_methodSelectiondefault='partner_lang'selection=[('partner_lang', 'Partner Language'), ('template_lang', 'Template Language')]string='Language Attachment Method'
-
generate_email(self, res_ids, fields=None)
Loading…