Email CC and BCC
mail_composer_cc_bcc · OCA/mail
OCA/social 15.0–17.0 → OCA/mail 18.0
-
Security25/25No findings
-
Activity25/25Last human commit 5 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 15.0
Heuristic over the facts below, not an audit · How it's computed
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
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
No new fields.
Public methods (0)No public methods.
-
partner_bcc_idsMany2many → res.partnercompute='_compute_partner_cc_bcc_ids'readonly=Falsestore=Truestring='Bcc' args: 'res.partner', 'mail_compose_message_res_partner_bcc_rel', 'wizard_id', 'partner_id' -
partner_cc_idsMany2many → res.partnercompute='_compute_partner_cc_bcc_ids'readonly=Falsestore=Truestring='Cc' args: 'res.partner', 'mail_compose_message_res_partner_cc_rel', 'wizard_id', 'partner_id'
-
default_get(self, fields_list)@api.model
-
email_bccCharhelp='Blind Cc message recipients' args: 'Bcc'
No public methods.
-
recipient_bcc_idsMany2many → res.partnercontext={'active_test': False}string='Bcc (Partners)' args: 'res.partner', 'mail_message_res_partner_bcc_rel', 'mail_message_id', 'parent_id' -
recipient_cc_idsMany2many → res.partnercontext={'active_test': False}string='Cc (Partners)' args: 'res.partner', 'mail_message_res_partner_cc_rel', 'mail_message_id', 'parent_id'
No public methods.
-
email_bccCharhelp='Blind cc recipients (placeholders may be used here)' args: 'Bcc'
No public methods.
-
email_bccCharcompute='_compute_mail_template_fields'help='Blind Carbon copy recipients' args: 'Bcc'
No public methods.
No new fields.
Public methods (0)No public methods.
-
default_partner_bcc_idsMany2many → res.partnerstring='Default Bcc' args: 'res.partner', 'res_company_res_partner_bcc_rel', 'company_id', 'partner_id' -
default_partner_cc_idsMany2many → res.partnerstring='Default Cc' args: 'res.partner', 'res_company_res_partner_cc_rel', 'company_id', 'partner_id'
No public methods.
Loading…
Loading…
Loading…
Loading…