Repository
OCA/survey · module folder · Try on Runboat
Module version
1.0.0
Category
Marketing
Folder size
0.02 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://odoo-community.org/
Last tracking update
2026-08-07 07:03:13
Authors
Savoir-faire Linux, Odoo Community Association (OCA)
Maintainers
Savoir-faire Linux, Odoo Community Association (OCA)
Committers
Alexandre Fayolle, GitHub, Stéphane Bidoul (ACSONE), OCA Transbot, Agathe Mollé, OCA-git-bot, oca-travis
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
survey_email_compose_message survey.mail.compose.message Inherits survey.survey_email_compose_message
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (3)
  • partner_ids Many2many
    compute='get_recipients' readonly=True string='Recipients'
  • partners_manual Many2many → res.partner
    column1='wizard_id' column2='partner_manual_id' comodel_name='res.partner' relation='survey_mail_compose_message_res_partner_manual_rel' string='Add these partners to recipients'
  • tags Many2many → res.partner.category
    column1='wizard_id' column2='partner_tag_id' comodel_name='res.partner.category' relation='survey_mail_compose_message_res_partner_tag_rel' string='Add these tags to recipients'
Public methods (1)
  • get_recipients(self)
    @api.depends('tags', 'partners_manual')
    Populate the partner_ids field (Recipients) with all the partners added manually (in partners_manual) and the partners who have the tags chosen (in tags). Duplicates are avoided (we don't want partners to receive twice the same email because they have 2 tags interesting for us). This partner list is sorted by display_name.