Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 5 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 4 Odoo series since 15.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.32 MB
Module directory on disk
Code analysis 0 migration notes 8 models 6 views 0 HTTP endpoints

Description

Odoo native does not support defining a Cc field in the Mail Composer by default; instead, it only has a unique Recipients fields, which is confusing for a lot of end users.

This module allows to properly separate To:, Cc:, and Bcc: fields in the Mail Composer.

From Odoo 17.0, this module sends one mail per recipient and keeps same all headers (To, Cc, Bcc) in all emails

Features

  • Add Cc and Bcc fields to company form to use them as default in mail composer form.
  • Add Bcc field to mail template form. Use Cc and Bcc fields to lookup partners by email then add them to corresponding fields in mail composer form.

Dependencies

Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
mail_composer_cc_bcc_mail_tracking

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 6

XML IDNameModelTypeStatus
email_compose_message_wizard_inherit_form mail.compose.message.form.inherit mail.compose.message form Inherits mail.email_compose_message_wizard_form
email_template_form_inherit email.template.form.inherit mail.template form Inherits mail.email_template_form
mail_message_view_form_inherit mail.message.form.inherit mail.message form Inherits mail.mail_message_view_form
mail_template_preview_view_form_inherited mail.template.preview form Inherits mail.mail_template_preview_view_form
view_company_form_inherit res.company.form.inherit res.company form Inherits base.view_company_form
view_mail_form_inherit email.mail.form.inherit mail.mail form Inherits mail.view_mail_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 8

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • partner_bcc_ids Many2many → res.partner
    compute='_compute_partner_cc_bcc_ids' readonly=False store=True string='Bcc' args: 'res.partner', 'mail_compose_message_res_partner_bcc_rel', 'wizard_id', 'partner_id'
  • partner_cc_ids Many2many → res.partner
    compute='_compute_partner_cc_bcc_ids' readonly=False store=True string='Cc' args: 'res.partner', 'mail_compose_message_res_partner_cc_rel', 'wizard_id', 'partner_id'
Public methods (1)
  • default_get(self, fields_list)
    @api.model

New fields (1)
  • email_bcc Char
    help='Blind Cc message recipients' args: 'Bcc'
Public methods (0)

No public methods.

New fields (2)
  • recipient_bcc_ids Many2many → res.partner
    context={'active_test': False} string='Bcc (Partners)' args: 'res.partner', 'mail_message_res_partner_bcc_rel', 'mail_message_id', 'parent_id'
  • recipient_cc_ids Many2many → res.partner
    context={'active_test': False} string='Cc (Partners)' args: 'res.partner', 'mail_message_res_partner_cc_rel', 'mail_message_id', 'parent_id'
Public methods (0)

No public methods.

New fields (1)
  • email_bcc Char
    help='Blind cc recipients (placeholders may be used here)' args: 'Bcc'
Public methods (0)

No public methods.

New fields (1)
  • email_bcc Char
    compute='_compute_mail_template_fields' help='Blind Carbon copy recipients' args: 'Bcc'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • default_partner_bcc_ids Many2many → res.partner
    string='Default Bcc' args: 'res.partner', 'res_company_res_partner_bcc_rel', 'company_id', 'partner_id'
  • default_partner_cc_ids Many2many → res.partner
    string='Default Cc' args: 'res.partner', 'res_company_res_partner_cc_rel', 'company_id', 'partner_id'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…