Mail Attach Existing Attachment

mail_attach_existing_attachment
REPOSITORY
REPOSITORYOCA/mail
GIT
GIThttps://github.com/OCA/mail.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/mail/tree/19.0/mail_attach_existing_attachment
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSocial Network
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Manuela Cepeda
WEBSITE
WEBSITEhttps://github.com/OCA/mail
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module was written to add the possibility to add attachments
located on the object by sending it by email with the mail compose
message wizard

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
email_compose_message_wizard_inherit_form mail.compose.message xpath Inherits mail.email_compose_message_wizard_form
Models touched (1)

New fields (3)
  • can_attach_attachment Boolean
  • display_object_attachment_ids One2many → ir.attachment
    comodel_name='ir.attachment' compute='_compute_display_object_attachment_ids'
  • object_attachment_ids Many2many → ir.attachment
    column1='wizard_id' column2='attachment_id' comodel_name='ir.attachment' relation='mail_compose_message_ir_attachments_object_rel' string='Object Attachments'
Public methods (1)
  • default_get(self, fields_list)
    @api.model
REPOSITORY
REPOSITORYOCA/mail
GIT
GIThttps://github.com/OCA/mail.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/mail/tree/18.0/mail_attach_existing_attachment
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSocial Network
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSCarlos Lopez, Weblate, OCA-git-bot, oca-ci, Frédéric GRALL
WEBSITE
WEBSITEhttps://github.com/OCA/mail
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module was written to add the possibility to add attachments
located on the object by sending it by email with the mail compose
message wizard

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
email_compose_message_wizard_inherit_form mail.compose.message xpath Inherits mail.email_compose_message_wizard_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • can_attach_attachment Boolean
  • display_object_attachment_ids One2many → ir.attachment
    comodel_name='ir.attachment' compute='_compute_display_object_attachment_ids'
  • object_attachment_ids Many2many → ir.attachment
    column1='wizard_id' column2='attachment_id' comodel_name='ir.attachment' relation='mail_compose_message_ir_attachments_object_rel' string='Object Attachments'
Public methods (1)
  • default_get(self, fields_list)
    @api.model
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/17.0/mail_attach_existing_attachment
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSocial Network
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSCarlos Lopez, Weblate, OCA-git-bot, oca-ci, andrea
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module was written to add the possibility to add attachments
located on the object by sending it by email with the mail compose
message wizard

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
email_compose_message_wizard_inherit_form mail.compose.message xpath Inherits mail.email_compose_message_wizard_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • can_attach_attachment Boolean
  • display_object_attachment_ids One2many → ir.attachment
    comodel_name='ir.attachment' compute='_compute_display_object_attachment_ids'
  • object_attachment_ids Many2many → ir.attachment
    column1='wizard_id' column2='attachment_id' comodel_name='ir.attachment' relation='mail_compose_message_ir_attachments_object_rel' string='Object Attachments'
Public methods (1)
  • default_get(self, fields_list)
    @api.model
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/16.0/mail_attach_existing_attachment
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYSocial Network
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Benoit Aimont
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
email_compose_message_wizard_inherit_form mail.compose.message.form (mail_attach_existing_attachment) mail.compose.message xpath Inherits mail.email_compose_message_wizard_form
Models touched (1)

New fields (2)
  • can_attach_attachment Boolean
  • object_attachment_ids Many2many → ir.attachment
    column1='wizard_id' column2='attachment_id' comodel_name='ir.attachment' relation='mail_compose_message_ir_attachments_object_rel' string='Object Attachments'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • get_mail_values(self, res_ids)
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/15.0/mail_attach_existing_attachment
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSocial Network
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Alvaro
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:40
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
email_compose_message_wizard_inherit_form mail.compose.message.form (mail_attach_existing_attachment) mail.compose.message xpath Inherits mail.email_compose_message_wizard_form
Models touched (1)

New fields (2)
  • can_attach_attachment Boolean
  • object_attachment_ids Many2many → ir.attachment
    column1='wizard_id' column2='attachment_id' comodel_name='ir.attachment' relation='mail_compose_message_ir_attachments_object_rel' string='Object Attachments'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • get_mail_values(self, res_ids)
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/14.0/mail_attach_existing_attachment
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSocial Network
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSOCA Transbot, Ernesto Tejeda, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
email_compose_message_wizard_inherit_form mail.compose.message.form (mail_attach_existing_attachment) mail.compose.message xpath Inherits mail.email_compose_message_wizard_form
Models touched (1)

New fields (2)
  • can_attach_attachment Boolean
    string='Can Attach Attachment'
  • object_attachment_ids Many2many → ir.attachment
    column1='wizard_id' column2='attachment_id' comodel_name='ir.attachment' relation='mail_compose_message_ir_attachments_object_rel' string='Object Attachments'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • get_mail_values(self, res_ids)
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/13.0/mail_attach_existing_attachment
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSocial Network
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSJairo Llopis, OCA Transbot, Víctor Martínez, oca-travis, Weblate, OCA-git-bot, Radovan Skolnik
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
email_compose_message_wizard_inherit_form mail.compose.message.form (mail_attach_existing_attachment) mail.compose.message xpath Inherits mail.email_compose_message_wizard_form
Models touched (1)

New fields (2)
  • can_attach_attachment Boolean
    string='Can Attach Attachment'
  • object_attachment_ids Many2many → ir.attachment
    column1='wizard_id' column2='attachment_id' comodel_name='ir.attachment' relation='mail_compose_message_ir_attachments_object_rel' string='Object Attachments'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • get_mail_values(self, res_ids)
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/12.0/mail_attach_existing_attachment
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSocial Network
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - document
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
email_compose_message_wizard_inherit_form mail.compose.message.form (mail_attach_existing_attachment) mail.compose.message xpath Inherits mail.email_compose_message_wizard_form
Models touched (1)

New fields (2)
  • can_attach_attachment Boolean
    string='Can Attach Attachment'
  • object_attachment_ids Many2many → ir.attachment
    column1='wizard_id' column2='attachment_id' comodel_name='ir.attachment' relation='mail_compose_message_ir_attachments_object_rel' string='Object Attachments'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • get_mail_values(self, res_ids)
    @api.multi
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/11.0/mail_attach_existing_attachment
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSocial Network
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSHolger Brunn, Denis Roussel, oca-travis, Weblate
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - document
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
email_compose_message_wizard_inherit_form mail.compose.message.form (mail_attach_existing_attachment) mail.compose.message xpath Inherits mail.email_compose_message_wizard_form
Models touched (1)

New fields (2)
  • can_attach_attachment Boolean
    string='Can Attach Attachment'
  • object_attachment_ids Many2many → ir.attachment
    column1='wizard_id' column2='attachment_id' comodel_name='ir.attachment' relation='mail_compose_message_ir_attachments_object_rel' string='Attachments'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • get_mail_values(self, res_ids)
    @api.multi
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/10.0/mail_attach_existing_attachment
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSocial Network
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, Damien Bouvy, OCA Transbot, Thierry Ducrest, Adrien Peiffer (ACSONE), oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/social
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - document
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
email_compose_message_wizard_inherit_form mail.compose.message.form (mail_attach_existing_attachment) mail.compose.message xpath Inherits mail.email_compose_message_wizard_form
Models touched (1)

New fields (2)
  • can_attach_attachment Boolean
    string='Can Attach Attachment'
  • object_attachment_ids Many2many → ir.attachment
    column1='wizard_id' column2='attachment_id' comodel_name='ir.attachment' domain=<expr> relation='mail_compose_message_ir_attachments_object_rel' string='Attachments'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • get_mail_values(self, res_ids)
    @api.multi
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/9.0/mail_attach_existing_attachment
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSocial Network
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis
WEBSITE
WEBSITEhttp://acsone.eu
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - bus
    - document
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
email_compose_message_wizard_inherit_form mail.compose.message.form (mail_attach_existing_attachment) mail.compose.message xpath Inherits mail.email_compose_message_wizard_form
Models touched (1)

New fields (2)
  • can_attach_attachment Boolean
    string='Can Attach Attachment'
  • object_attachment_ids Many2many → ir.attachment
    column1='wizard_id' column2='attachment_id' comodel_name='ir.attachment' relation='mail_compose_message_ir_attachments_object_rel' string='Attachments'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • get_mail_values(self, res_ids)
    @api.multi
REPOSITORY
REPOSITORYOCA/social
GIT
GIThttps://github.com/OCA/social.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/social/tree/8.0/mail_attach_existing_attachment
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSocial Network
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSOCA Transbot, Adrien Peiffer (ACSONE), oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttp://acsone.eu
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - document
    - knowledge
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
email_compose_message_wizard_inherit_form mail.compose.message.form (mail_attach_existing_attachment) mail.compose.message xpath Inherits mail.email_compose_message_wizard_form
Models touched (1)

New fields (2)
  • can_attach_attachment Boolean
    string='Can Attach Attachment'
  • object_attachment_ids Many2many → ir.attachment
    column1='wizard_id' column2='attachment_id' comodel_name='ir.attachment' relation='mail_compose_message_ir_attachments_object_rel' string='Attachments'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • get_mail_values(self, wizard, res_ids)
    @api.model