mail.template :: Email Templates

Mixin that overrides the create and write methods to properly generate ir.model.data entries flagged with Studio for the corresponding resources. Doesn't create an ir.model.data if the record is part of a module being currently installed as the ir.model.data will be created automatically afterwards.

Fields

  • active [boolean]: Active

  • attachment_ids [many2many: ir.attachment]: Attachments

  • auto_delete [boolean]: Auto Delete

  • body_html [html]: Body

  • can_write [readonlyboolean]: Can Write

  • create_date [readonlydatetime]: Created on

  • create_uid [readonlymany2one: res.users]: Created by

  • description [text]: Template Description

  • display_name [readonlychar]: Display Name

  • email_cc [char]: Cc

  • email_from [char]: From

  • email_layout_xmlid [char]: Email Notification Layout

  • email_to [char]: To (Emails)

  • id [readonlyinteger]: ID

  • is_template_editor [readonlyboolean]: Is Template Editor

  • lang [char]: Language

  • mail_server_id [many2one: ir.mail_server]: Outgoing Mail Server

  • model [readonlychar]: Related Document Model

  • model_id [many2one: ir.model]: Applies to

  • name [char]: Name

  • partner_to [char]: To (Partners)

  • ref_ir_act_window [readonlymany2one: ir.actions.act_window]: Sidebar action

  • render_model [readonlychar]: Rendering Model

  • reply_to [char]: Reply To

  • report_template_ids [many2many: ir.actions.report]: Dynamic Reports

  • scheduled_date [char]: Scheduled Date

  • subject [char]: Subject

  • template_category [readonlyselection]: Template Category

  • template_fs [char]: Template Filename

  • use_default_to [boolean]: Default recipients

  • user_id [many2one: res.users]: User

  • write_date [readonlydatetime]: Last Updated on

  • write_uid [readonlymany2one: res.users]: Last Updated by