Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
c897c93
[ADD] mail_composer_cc_bcc: send email to cc, bcc addresses
hailangvn May 23, 2023
6a70a68
[FIX] avoid confusion of email's partners
hailangvn Jun 27, 2023
98c00c2
[ADD] icon.png
OCA-git-bot Jul 18, 2023
3d4e262
[FIX]mail_composer_cc_bcc: avoid sending multiple mails to all recipi…
ChristophAbenthungCibex Aug 11, 2023
dbc83fb
[FIX] mail_composer_cc_bcc: don't impact mass_mailing
nilshamerlinck Aug 29, 2023
8720caf
[FIX] mail_composer_cc_bcc: changes upstream
nilshamerlinck Sep 28, 2023
1e1720c
[MIG] mail_composer_cc_bcc: Migrate to version 16.0
Sep 24, 2023
fb7e32f
[UPD] Update mail_composer_cc_bcc.pot
Oct 18, 2023
4dd049a
Added translation using Weblate (Spanish)
Ivorra78 Nov 8, 2023
0189de0
Translated using Weblate (Spanish)
Ivorra78 Nov 8, 2023
7df7dee
Translated using Weblate (Spanish)
Ivorra78 Nov 8, 2023
c174dbf
Added translation using Weblate (Italian)
mymage Dec 1, 2023
8a7e46e
Translated using Weblate (Italian)
mymage Dec 7, 2023
5b9a652
[FIX] mail_composer_cc_bcc: find invoice regardless of the current year
StefanRijnhart Jan 4, 2024
3230e1a
[BOT] post-merge updates
OCA-git-bot Jan 4, 2024
c2025ab
[UPD] mail_composer_cc_bcc: propose maintainer
trisdoan Dec 16, 2024
b352647
[IMP] mail_composer_cc_bcc: pre-commit
trisdoan Feb 19, 2024
ebff1a6
[MIG] mail_composer_cc_bcc: Migration to 17.0
trisdoan Feb 1, 2024
28ff283
[IMP] mail_composer_cc_bcc_account: pre-commit
trisdoan Feb 19, 2024
bbde025
[MIG] mail_composer_cc_bcc_account: Migration to 17.0
trisdoan Feb 19, 2024
3c2fe10
[UPD] Update mail_composer_cc_bcc.pot
Jul 22, 2024
771e120
[BOT] post-merge updates
OCA-git-bot Jul 22, 2024
0e37fa7
Update translation files
weblate Jul 22, 2024
5273ff7
Translated using Weblate (Italian)
mymage Jul 23, 2024
d229f9b
[FIX] mail_composer_cc_bcc: fix duplicate key value violates unique c…
BryanSomko Aug 7, 2024
c8d5568
[FIX] mail_composer_cc_bcc:send RFQ by email
trisdoan Oct 22, 2024
a3c825c
[FIX] mail_composer_cc_bcc: duplicate email
trisdoan Nov 5, 2024
4969803
[IMP] mail_composer_cc_bcc: pre-commit execution
trisdoan Nov 5, 2024
5e239bb
[MIG] mail_composer_cc_bcc: Migration to 18.0
trisdoan Nov 5, 2024
0509626
[IMP] mail_composer_cc_bcc: refactor _generate_template_recipients
trisdoan Oct 28, 2024
d90f037
[UPD] Update mail_composer_cc_bcc.pot
Apr 4, 2025
a85ef12
[BOT] post-merge updates
OCA-git-bot Apr 4, 2025
8cda04d
[18.0][FIX] mail_composer_cc_bcc: Support placeholders
BT-anieto Jul 23, 2025
9c40cef
[BOT] post-merge updates
OCA-git-bot Jul 25, 2025
19fe858
[FIX] mail_composer_cc_bcc: emails list
norlinhenrik Jun 15, 2025
aac8674
[BOT] post-merge updates
OCA-git-bot Sep 25, 2025
6283817
Translated using Weblate (Italian)
mymage Oct 16, 2025
acabb12
[MIG] mail_composer_cc_bcc: Migration to 19.0
norlinhenrik Nov 10, 2025
7f0f37f
[FIX] mail_composer_cc_bcc: _notify_get_recipients_classify(): recipi…
norlinhenrik Dec 3, 2025
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
147 changes: 147 additions & 0 deletions mail_composer_cc_bcc/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
.. 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)

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",
],
}
125 changes: 125 additions & 0 deletions mail_composer_cc_bcc/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_composer_cc_bcc
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-08 13:02+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\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 4.17\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
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 (Socios)"

#. 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 "Destinatarios de mensajes Cc ciegos"

#. 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 "Destinatarios cc ciegos (pueden utilizarse marcadores de posición)"

#. 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 "Con copia (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 (Socios)"

#. 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 ""
"Direcciones de los destinatarios de la copia oculta separadas por comas"

#. module: mail_composer_cc_bcc
#: model:ir.model,name:mail_composer_cc_bcc.model_res_company
msgid "Companies"
msgstr "Compañías"

#. 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 "Bcc por defecto"

#. 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 "Cc por defecto"

#. module: mail_composer_cc_bcc
#: model:ir.model,name:mail_composer_cc_bcc.model_mail_template
msgid "Email Templates"
msgstr "Plantillas Correo Electrónico"

#. module: mail_composer_cc_bcc
#: model:ir.model,name:mail_composer_cc_bcc.model_mail_thread
msgid "Email Thread"
msgstr "Hilo de Correo Electrónico"

#. module: mail_composer_cc_bcc
#: model:ir.model,name:mail_composer_cc_bcc.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Asistente de redacción de correo electrónico"

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

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

#. module: mail_composer_cc_bcc
#: model:ir.model,name:mail_composer_cc_bcc.model_mail_mail
msgid "Outgoing Mails"
msgstr "Correos Salientes"

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

#, python-format
#~ msgid ""
#~ "Error without exception. Probably due do concurrent access update of "
#~ "notification records. Please see with an administrator."
#~ msgstr ""
#~ "Error sin excepción. Probablemente debido a la actualización de acceso "
#~ "concurrente de los registros de notificación. Por favor, consulte con un "
#~ "administrador."

#, python-format
#~ msgid ""
#~ "Error without exception. Probably due do sending an email without "
#~ "computed recipients."
#~ msgstr ""
#~ "Error sin excepción. Probablemente debido a enviar un email sin "
#~ "destinatarios computados."
Loading