Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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/18.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-18-0/mail-18-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=18.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/18.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/18.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/18.0/mail_composer_cc_bcc/static/img/mail_compose_message_default_cc_bcc.png
.. |image1| image:: https://raw.githubusercontent.com/OCA/mail/18.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:%2018.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/18.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": ["KhaledGharib"],
"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
Loading