Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
ef74c95
[ADD] mail_composer_cc_bcc: send email to cc, bcc addresses
hailangvn May 23, 2023
b114b39
[FIX] avoid confusion of email's partners
hailangvn Jun 27, 2023
e17b93f
[ADD] icon.png
OCA-git-bot Jul 18, 2023
00ff44a
[FIX]mail_composer_cc_bcc: avoid sending multiple mails to all recipi…
ChristophAbenthungCibex Aug 11, 2023
2878e9e
[FIX] mail_composer_cc_bcc: don't impact mass_mailing
nilshamerlinck Aug 29, 2023
556c60c
[FIX] mail_composer_cc_bcc: changes upstream
nilshamerlinck Sep 28, 2023
c0cbbc5
[MIG] mail_composer_cc_bcc: Migrate to version 16.0
Sep 24, 2023
1577356
[UPD] Update mail_composer_cc_bcc.pot
Oct 18, 2023
5e28d98
Added translation using Weblate (Spanish)
Ivorra78 Nov 8, 2023
85bd138
Translated using Weblate (Spanish)
Ivorra78 Nov 8, 2023
8419047
Translated using Weblate (Spanish)
Ivorra78 Nov 8, 2023
c1c45d4
Added translation using Weblate (Italian)
mymage Dec 1, 2023
a78b0d1
Translated using Weblate (Italian)
mymage Dec 7, 2023
4634b63
[FIX] mail_composer_cc_bcc: find invoice regardless of the current year
StefanRijnhart Jan 4, 2024
ac2055b
[BOT] post-merge updates
OCA-git-bot Jan 4, 2024
bce86cc
[UPD] mail_composer_cc_bcc: propose maintainer
trisdoan Dec 16, 2024
eb3e059
[IMP] mail_composer_cc_bcc: pre-commit
trisdoan Feb 19, 2024
6a8c0b5
[MIG] mail_composer_cc_bcc: Migration to 17.0
trisdoan Feb 1, 2024
51954a8
[IMP] mail_composer_cc_bcc_account: pre-commit
trisdoan Feb 19, 2024
db2bb88
[MIG] mail_composer_cc_bcc_account: Migration to 17.0
trisdoan Feb 19, 2024
2be7978
[UPD] Update mail_composer_cc_bcc.pot
Jul 22, 2024
c345745
[BOT] post-merge updates
OCA-git-bot Jul 22, 2024
503ba6d
Update translation files
weblate Jul 22, 2024
0fdf315
Translated using Weblate (Italian)
mymage Jul 23, 2024
f44b186
[FIX] mail_composer_cc_bcc: fix duplicate key value violates unique c…
BryanSomko Aug 7, 2024
1414a20
[FIX] mail_composer_cc_bcc:send RFQ by email
trisdoan Oct 22, 2024
825458b
[FIX] mail_composer_cc_bcc: duplicate email
trisdoan Nov 5, 2024
7fdd829
[IMP] mail_composer_cc_bcc: pre-commit execution
trisdoan Nov 5, 2024
4e71fe8
[MIG] mail_composer_cc_bcc: Migration to 18.0
trisdoan Nov 5, 2024
8836515
[IMP] mail_composer_cc_bcc: refactor _generate_template_recipients
trisdoan Oct 28, 2024
7c5a45f
[UPD] Update mail_composer_cc_bcc.pot
Apr 4, 2025
e2c334e
[BOT] post-merge updates
OCA-git-bot Apr 4, 2025
bddab18
[18.0][FIX] mail_composer_cc_bcc: Support placeholders
BT-anieto Jul 23, 2025
3b17541
[BOT] post-merge updates
OCA-git-bot Jul 25, 2025
e0e4205
[FIX] mail_composer_cc_bcc: emails list
norlinhenrik Jun 15, 2025
2874ca6
[BOT] post-merge updates
OCA-git-bot Sep 25, 2025
e47eec4
Translated using Weblate (Italian)
mymage Oct 16, 2025
7f52f2a
Added translation using Weblate (German)
mjdreher Dec 17, 2025
440f9bc
Translated using Weblate (German)
mjdreher Dec 17, 2025
1e02a82
[MIG] mail_composer_cc_bcc: Migration to 19.0
trisdoan May 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
153 changes: 153 additions & 0 deletions mail_composer_cc_bcc/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

================
Email CC and BCC
================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:baa3864e6fc3754462520ec7eb76d0d09dbffbedbb627a99fe17c092ee3cf57f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmail-lightgray.png?logo=github
:target: https://github.com/OCA/mail/tree/19.0/mail_composer_cc_bcc
:alt: OCA/mail
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/mail-19-0/mail-19-0-mail_composer_cc_bcc
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/mail&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Configuration
=============

In company form there are two fields to set default cc and bcc partners.

|res_company_form_default_cc_bcc|

In template form there are two fields to set cc and bcc emails.

|email_template_form_cc_bcc|

.. |res_company_form_default_cc_bcc| image:: https://raw.githubusercontent.com/OCA/mail/19.0/mail_composer_cc_bcc/static/img/res_company_form_default_cc_bcc.png
.. |email_template_form_cc_bcc| image:: https://raw.githubusercontent.com/OCA/mail/19.0/mail_composer_cc_bcc/static/img/email_template_form_cc_bcc.png

Usage
=====

The partners cc and bcc from company form will be used to fill in mail
composer form.

|image|

When select a template that has cc and/or bcc emails, the emails will be
used to lookup partners then found partners will be added to
corresponding mail composer's fields.

|image1|

.. |image| image:: https://raw.githubusercontent.com/OCA/mail/19.0/mail_composer_cc_bcc/static/img/mail_compose_message_default_cc_bcc.png
.. |image1| image:: https://raw.githubusercontent.com/OCA/mail/19.0/mail_composer_cc_bcc/static/img/mail_compose_message_template_cc_bcc.png

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/mail/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/mail/issues/new?body=module:%20mail_composer_cc_bcc%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Camptocamp

Contributors
------------

- `Trobz <https://www.trobz.com>`__:

- Hai N. Le <hailn@trobz.com>
- Son Ho <sonhd@trobz.com>
- Tri Doan <tridm@trobz.com>

- Alberto Nieto alberto.nieto@braintec.com (https://braintec.com)

Other credits
-------------

The creation and migration of this module from 16.0 to 17.0, and then
17.0 to 18.0 were financially supported by Camptocamp.

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-trisdoan| image:: https://github.com/trisdoan.png?size=40px
:target: https://github.com/trisdoan
:alt: trisdoan

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-trisdoan|

This module is part of the `OCA/mail <https://github.com/OCA/mail/tree/19.0/mail_composer_cc_bcc>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions mail_composer_cc_bcc/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizards
27 changes: 27 additions & 0 deletions mail_composer_cc_bcc/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2023 Camptocamp SA
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Email CC and BCC",
"summary": "This module enables sending mail to CC and BCC partners in mail composer form.", # noqa: E501
"version": "19.0.1.0.0",
"development_status": "Alpha",
"category": "Social",
"website": "https://github.com/OCA/mail",
"author": "Camptocamp, Odoo Community Association (OCA)",
"maintainers": ["trisdoan"],
"license": "AGPL-3",
"application": False,
"installable": True,
"preloadable": True,
"depends": [
"mail",
],
"data": [
"views/res_company_views.xml",
"views/mail_mail_views.xml",
"views/mail_message_views.xml",
"views/mail_template_views.xml",
"wizards/mail_compose_message_view.xml",
"wizards/mail_template_preview_view.xml",
],
}
118 changes: 118 additions & 0 deletions mail_composer_cc_bcc/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_composer_cc_bcc
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-12-17 11:47+0000\n"
"Last-Translator: MJD <maximilian@si-gmbh.de>\n"
"Language-Team: none\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.10.4\n"

#. module: mail_composer_cc_bcc
#: model:ir.model.fields,field_description:mail_composer_cc_bcc.field_mail_compose_message__partner_bcc_ids
#: model:ir.model.fields,field_description:mail_composer_cc_bcc.field_mail_mail__email_bcc
#: model:ir.model.fields,field_description:mail_composer_cc_bcc.field_mail_template__email_bcc
#: model:ir.model.fields,field_description:mail_composer_cc_bcc.field_mail_template_preview__email_bcc
msgid "Bcc"
msgstr "Bcc"

#. module: mail_composer_cc_bcc
#: model:ir.model.fields,field_description:mail_composer_cc_bcc.field_mail_mail__recipient_bcc_ids
#: model:ir.model.fields,field_description:mail_composer_cc_bcc.field_mail_message__recipient_bcc_ids
msgid "Bcc (Partners)"
msgstr "Bcc (Partner)"

#. module: mail_composer_cc_bcc
#: model:ir.model.fields,help:mail_composer_cc_bcc.field_mail_template_preview__email_bcc
msgid "Blind Carbon copy recipients"
msgstr "Blindkopie-Empfänger"

#. module: mail_composer_cc_bcc
#: model:ir.model.fields,help:mail_composer_cc_bcc.field_mail_mail__email_bcc
msgid "Blind Cc message recipients"
msgstr "Blindkopie-Nachrichtenempfänger"

#. module: mail_composer_cc_bcc
#: model:ir.model.fields,help:mail_composer_cc_bcc.field_mail_template__email_bcc
msgid "Blind cc recipients (placeholders may be used here)"
msgstr "Bcc-Empfänger (Platzhalter sind hier möglich)"

#. module: mail_composer_cc_bcc
#: model:ir.model.fields,field_description:mail_composer_cc_bcc.field_mail_compose_message__partner_cc_ids
msgid "Cc"
msgstr "Cc"

#. module: mail_composer_cc_bcc
#: model:ir.model.fields,field_description:mail_composer_cc_bcc.field_mail_mail__recipient_cc_ids
#: model:ir.model.fields,field_description:mail_composer_cc_bcc.field_mail_message__recipient_cc_ids
msgid "Cc (Partners)"
msgstr "Cc (Partner)"

#. module: mail_composer_cc_bcc
#: model_terms:ir.ui.view,arch_db:mail_composer_cc_bcc.email_template_form_inherit
#: model_terms:ir.ui.view,arch_db:mail_composer_cc_bcc.view_mail_form_inherit
msgid "Comma-separated blind carbon copy recipients addresses"
msgstr "Kommagetrennte Blindkopie-Adressen"

#. module: mail_composer_cc_bcc
#: model:ir.model,name:mail_composer_cc_bcc.model_res_company
msgid "Companies"
msgstr "Unternehmen"

#. module: mail_composer_cc_bcc
#: model:ir.model.fields,field_description:mail_composer_cc_bcc.field_res_company__default_partner_bcc_ids
msgid "Default Bcc"
msgstr "Standard-Bcc"

#. module: mail_composer_cc_bcc
#: model:ir.model.fields,field_description:mail_composer_cc_bcc.field_res_company__default_partner_cc_ids
msgid "Default Cc"
msgstr "Standard-Cc"

#. module: mail_composer_cc_bcc
#: model:ir.model,name:mail_composer_cc_bcc.model_mail_template_preview
msgid "Email Template Preview"
msgstr "E-Mail-Vorlagen-Vorschau"

#. module: mail_composer_cc_bcc
#: model:ir.model,name:mail_composer_cc_bcc.model_mail_template
msgid "Email Templates"
msgstr "E-Mail-Vorlage"

#. module: mail_composer_cc_bcc
#: model:ir.model,name:mail_composer_cc_bcc.model_mail_thread
msgid "Email Thread"
msgstr "E-Mail-Verlauf"

#. module: mail_composer_cc_bcc
#: model:ir.model,name:mail_composer_cc_bcc.model_mail_compose_message
msgid "Email composition wizard"
msgstr "E-Mail-Erstellungswizard"

#. module: mail_composer_cc_bcc
#: model:ir.model,name:mail_composer_cc_bcc.model_ir_mail_server
msgid "Mail Server"
msgstr "Mailserver"

#. module: mail_composer_cc_bcc
#: model:ir.model,name:mail_composer_cc_bcc.model_mail_message
msgid "Message"
msgstr "Nachricht"

#. module: mail_composer_cc_bcc
#: model:ir.model,name:mail_composer_cc_bcc.model_mail_mail
msgid "Outgoing Mails"
msgstr "Ausgehende E-Mails"

#. module: mail_composer_cc_bcc
#: model_terms:ir.ui.view,arch_db:mail_composer_cc_bcc.view_mail_form_inherit
msgid "Partners"
msgstr "Partner"
Loading
Loading