Skip to Content
Odoo model

mail.template

Email Template. Defined in module mail; exists in Odoo 16, 17, 18, 19, 20. Across the upgrade steps we tracked: 9 fields added, 2 removed, 0 renamed.

  1. Odoo 16 mail
  2. Odoo 17 mail
  3. Odoo 18 mail
  4. Odoo 19 mail
  5. Odoo 20 mail

Odoo 16 to 17

Community only All changes in this step

Fields removed (2)

FieldTypeModuleNotes
report_namecharmail
report_templatemany2onemail

Fields added (4)

FieldTypeModule
email_layout_xmlidcharmail
is_template_editorbooleanmail
report_template_idsmany2manymail
user_idmany2onemail

Odoo 17 to 18

Community only All changes in this step

No change to this model's own fields in this step.

Odoo 18 to 19

Community + Enterprise All changes in this step

Fields added (2)

FieldTypeModule
has_dynamic_reportsbooleanmail
has_mail_serverbooleanmail

Now also inherits pos.load.mixin (fields from these parents are listed on their own pages).

1 views of this model removed
  • mail.mail_template_view_form_confirm_delete

Odoo 19 to 20

Community + Enterprise All changes in this step

Fields added (3)

FieldTypeModule
email_layout_force_footerbooleanmail
email_layout_force_headerbooleanmail
partner_cccharmail

All fields declared on mail.template (31)

Fields this model declares itself in any version, with the versions they exist in. Inherited fields (mail.thread and other mixins) are on the parent model's page.

present not present not covered (Enterprise, Odoo 16 and 17)

Show all 31 fields
FieldTypeLabelModule1617181920
activebooleanmail
attachment_idsmany2many ir.attachmentAttachmentsmail
auto_deletebooleanAuto Deletemail
body_htmlhtmlBodymail
can_writebooleanmail
descriptiontextTemplate Descriptionmail
email_cccharCcmail
email_fromcharSend Frommail
email_layout_force_headerbooleanForce Headermail
email_layout_xmlidcharEmail Notification Layoutmail
email_tocharTo (Emails)mail
has_dynamic_reportsbooleanmail
has_mail_serverbooleanmail
is_template_editorbooleanmail
mail_server_idmany2one ir.mail_serverOutgoing Mail Servermail
modelcharRelated Document Modelmail
model_idmany2one ir.modelApplies tomail
namecharNamemail
partner_cccharCc (Partners)mail
partner_tocharTo (Partners)mail
ref_ir_act_windowmany2one ir.actions.act_windowSidebar actionmail
reply_tocharReply To Addressmail
report_namecharReport Filenamemail
report_templatemany2one ir.actions.reportOptional report to print and attachmail
report_template_idsmany2many ir.actions.reportDynamic Reportsmail
scheduled_datecharScheduled Datemail
subjectcharSubjectmail
template_categoryselectionmail
use_default_tobooleanDefault Recipientsmail
user_idmany2one res.usersOwnermail
Coverage. Odoo 16 to 17 and 17 to 18 compare Community modules only (the Enterprise 16 and 17 sources are not available to us). Odoo 18 to 19 and 19 to 20 include Community and Enterprise modules. Everything here comes from a static read of the Odoo source code: a field counts as removed only when no parent model, mixin or delegated model still provides it. Fields created dynamically at run time can be missed, and entries we could not confirm are marked as low confidence.