| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-tools |
| GIT | |
| GIT | https://github.com/OCA/server-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-tools/tree/16.0/mail_template_attachment_i18n |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Localization |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Onestein |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Onestein |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, LauraCForgeFlow |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-tools |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:53:53 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - base - base_setup - web - bus - web_tour |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mail_template_form |
mail.template.form | mail.template | xpath | Inherits mail.email_template_form |
attachment_id
Many2one → ir.attachment
comodel_name='ir.attachment'
ondelete='cascade'
required=True
string='Attachment'
lang
Selection
required=True
selection=<expr>
string='Language'
mail_template_id
Many2one → mail.template
comodel_name='mail.template'
ondelete='cascade'
required=True
string='Template'
No public methods.
ir_attachment_language_ids
One2many → ir.attachment.language
comodel_name='ir.attachment.language'
inverse_name='mail_template_id'
string='Language Dependent Attachments'
ir_attachment_language_method
Selection
default='partner_lang'
selection=[('partner_lang', 'Partner Language'), ('template_lang', 'Template Language')]
string='Language Attachment Method'
generate_email(self, res_ids, fields=None)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-tools |
| GIT | |
| GIT | https://github.com/OCA/server-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-tools/tree/11.0/mail_template_attachment_i18n |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Localization |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Onestein |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Onestein |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, oca-travis, OCA-git-bot, Tom Blauwendraat |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-tools |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:24:00 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - base - base_setup - web - bus - web_tour |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mail_template_form |
mail.template.form | mail.template | xpath | Inherits mail.email_template_form |
attachment_id
Many2one → ir.attachment
comodel_name='ir.attachment'
ondelete='cascade'
required=True
string='Attachment'
lang
Selection
required=True
selection=<expr>
string='Language'
mail_template_id
Many2one → mail.template
comodel_name='mail.template'
ondelete='cascade'
required=True
string='Template'
No public methods.
ir_attachment_language_ids
One2many → ir.attachment.language
comodel_name='ir.attachment.language'
inverse_name='mail_template_id'
string='Language Dependent Attachments'
generate_email(self, res_ids, fields=None)