composer_mixin |
Mail Composer Mixin
Catalog: Odoo
Schema: mail
Documentation:
Mixin used to edit and render some fields used when sending emails or
notifications based on a mail template.
Main current purpose is to hide details related to subject and body computation
and rendering based on a mail.template. It also give the base tools to control
who is allowed to edit body, notably when dealing with templating language
like inline_template or qweb.
It is meant to evolve in a near future with upcoming support of qweb and fine
grain control of rendering access.
The data in this table is partitioned per value of the column.
This is a read-only table. The Odoo API may not support changing the data or the Invantive SQL driver for Odoo does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Odoo API.
Table Columns
The columns of the table composer_mixin are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
body |
string |
Contents |
☐ |
|
can_edit_body |
boolean |
Can Edit Body |
☐ |
|
is_mail_template_editor |
boolean |
Is Editor |
☐ |
|
lang |
string |
Language |
☐ |
Optional translation language (ISO code) to select when sending out an email. If not set, the english version will be used. This should usually be a placeholder expression that provides the appropriate language, e.g. {{ object.partner_id.lang }}. |
render_model |
string |
Rendering Model |
☐ |
|
subject |
string |
Subject |
☐ |
|
template_id_label |
string |
|
☐ |
|
template_id |
string |
|
☐ |
|
01-03-2023 15:29 Version 22.1.135-BETA+3826