Survey Partner Tag Share

survey_partner_tag_share
REPOSITORY
REPOSITORYOCA/survey
GIT
GIThttps://github.com/OCA/survey.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/survey/tree/8.0/survey_partner_tag_share
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYMarketing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Savoir-faire Linux
COMMITTERS
COMMITTERSAlexandre Fayolle, GitHub, Stéphane Bidoul (ACSONE), OCA Transbot, Agathe Mollé, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - survey
    - email_template
    - mail
    - base
    - base_setup
    - web_kanban
    - web
    - website
    - share
    - marketing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
survey_email_compose_message survey.mail.compose.message xpath Inherits survey.survey_email_compose_message
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.