mail.message :: Message

Override MailMessage class in order to add a new type: SMS messages. Those messages comes with their own notification method, using SMS gateway.

Fields

  • account_audit_log_account_id [readonlymany2one: account.account]: Account

  • account_audit_log_activated [readonlyboolean]: Audit Log Activated

  • account_audit_log_company_id [readonlymany2one: res.company]: Company

  • account_audit_log_move_id [readonlymany2one: account.move]: Journal Entry

  • account_audit_log_partner_id [readonlymany2one: res.partner]: Partner

  • account_audit_log_preview [readonlytext]: Description

  • account_audit_log_tax_id [readonlymany2one: account.tax]: Tax

  • attachment_ids [many2many: ir.attachment]: Attachments

  • author_avatar [binary]: Author's avatar

  • author_guest_id [many2one: mail.guest]: Guest

  • author_id [many2one: res.partner]: Author

  • body [html]: Contents

  • child_ids [one2many: mail.message]: Child Messages

  • create_date [readonlydatetime]: Created on

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

  • date [datetime]: Date

  • display_name [readonlychar]: Display Name

  • email_add_signature [boolean]: Email Add Signature

  • email_from [char]: From

  • email_layout_xmlid [char]: Layout

  • has_error [readonlyboolean]: Has error

  • has_sms_error [readonlyboolean]: Has SMS error

  • id [readonlyinteger]: ID

  • is_current_user_or_guest_author [readonlyboolean]: Is Current User Or Guest Author

  • is_internal [boolean]: Employee Only

  • letter_ids [one2many: snailmail.letter]: Letter

  • link_preview_ids [one2many: mail.link.preview]: Link Previews

  • mail_activity_type_id [many2one: mail.activity.type]: Mail Activity Type

  • mail_ids [one2many: mail.mail]: Mails

  • mail_server_id [many2one: ir.mail_server]: Outgoing mail server

  • message_id [readonlychar]: Message-Id

  • message_type [requiredselection]: Type

  • model [char]: Related Document Model

  • needaction [readonlyboolean]: Need Action

  • notification_ids [one2many: mail.notification]: Notifications

  • notified_partner_ids [many2many: res.partner]: Partners with Need Action

  • parent_id [many2one: mail.message]: Parent Message

  • partner_ids [many2many: res.partner]: Recipients

  • pinned_at [datetime]: Pinned

  • preview [readonlychar]: Preview

  • rating_id [readonlymany2one: rating.rating]: Rating

  • rating_ids [one2many: rating.rating]: Related ratings

  • rating_value [readonlyfloat]: Rating Value

  • reaction_ids [one2many: mail.message.reaction]: Reactions

  • record_alias_domain_id [many2one: mail.alias.domain]: Alias Domain

  • record_company_id [many2one: res.company]: Company

  • record_name [char]: Message Record Name

  • reply_to [char]: Reply-To

  • reply_to_force_new [boolean]: No threading for answers

  • res_id [many2one_reference]: Related Document ID

  • snailmail_error [readonlyboolean]: Snailmail message in error

  • starred [readonlyboolean]: Starred

  • starred_partner_ids [many2many: res.partner]: Favorited By

  • subject [char]: Subject

  • subtype_id [many2one: mail.message.subtype]: Subtype

  • tracking_value_ids [one2many: mail.tracking.value]: Tracking values

  • write_date [readonlydatetime]: Last Updated on

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