Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] mail_tracking_mass_mailing: Migration to 16.0 #1099

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
2e43a2f
mail_tracking_mass_mailing (#78)
antespi Aug 16, 2016
1601237
mail_tracking_mass_mailing module
cubells Jan 3, 2017
92f9950
[10.0] mail_tracking_mass_mailing: Migration to 10.0
chienandalu Jun 22, 2017
36d5219
[FIX] mail_tracking_mass_mailing: Integration tests (#258)
yajo Apr 18, 2018
f6d9286
[MIG] mail_tracking_mass_mailing: Migration to 11.0
pedrobaeza Aug 9, 2018
37f7fcc
[MIG] mail_tracking_mass_mailing: Migration to 12.0
ernestotejeda Nov 5, 2018
07c7290
[IMP] mail_tracking_mass_mailing: black, isort, prettier
zaoral Jun 9, 2020
a180214
[MIG] mail_tracking_mass_mailing: Migration to 13.0
zaoral Jun 9, 2020
ecf3e7c
[IMP] pre-commit run -a
Jan 26, 2021
5cb48f9
[MIG] mail_tracking_mass_mailing: Migration to v14.0
CarlosRoca13 Jul 22, 2021
479a001
[UPD] Update mail_tracking_mass_mailing.pot
oca-travis Jul 27, 2021
d022193
[UPD] README.rst
OCA-git-bot Jul 27, 2021
59a776f
mail_tracking_mass_mailing: Set traces in error according to tracking
grindtildeath May 10, 2022
3be7493
mail_tracking_mass_mailing 14.0.1.0.1
OCA-git-bot May 16, 2022
4342cce
[MIG] mail_tracking_mass_mailing: Migration to v15.0
sergio-teruel Dec 8, 2022
b09a97a
[FIX] mail_tracking: permissions. fw-port
sergio-teruel Feb 1, 2023
14d3c3b
[UPD] Update mail_tracking_mass_mailing.pot
Feb 2, 2023
ae1e618
Update translation files
weblate Feb 2, 2023
62538f3
[IMP] mail_tracking_mass_mailing: black, isort, prettier
Mar 9, 2023
419ef24
[MIG] mail_tracking_mass_mailing: Migration to 16.0
Mar 9, 2023
adb18d0
[DON'T MERGE] test-requirements.txt
Mar 14, 2023
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
108 changes: 108 additions & 0 deletions mail_tracking_mass_mailing/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
==============================
Mail tracking for mass mailing
==============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-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%2Fsocial-lightgray.png?logo=github
:target: https://github.com/OCA/social/tree/16.0/mail_tracking_mass_mailing
:alt: OCA/social
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_tracking_mass_mailing
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/205/16.0
:alt: Try me on Runbot

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

Links mail statistics objects with mail tracking objects.

**Table of contents**

.. contents::
:local:

Installation
============

This addon will be automatically installed when 'mail_tracking' and
'mass_mailing' are both installed.

Usage
=====

From mail statistic object, you can see:
- Email tracking state
- Email related tracking object
- Email related tracking events

From mass mailing contact, you can see:
- Email score, in order to clean up your lists from bad score emails

Mass mailing emails are sent only to recipients once. If you want to send
emails again to all the recipients, you must duplicate mass mailing.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/social/issues/new?body=module:%20mail_tracking_mass_mailing%0Aversion:%2016.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
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com>`_:

* Pedro M. Baeza
* Antonio Espinosa
* Vicent Cubells
* David Vidal
* Ernesto Tejeda
* Carlos Roca
* Sergio Teruel
* `Trobz <https://trobz.com>`_:
* nguyenhk <[email protected]>

Other credits
~~~~~~~~~~~~~

The migration of this module from 15.0 to 16.0 was 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.

This module is part of the `OCA/social <https://github.com/OCA/social/tree/16.0/mail_tracking_mass_mailing>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
6 changes: 6 additions & 0 deletions mail_tracking_mass_mailing/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2016 Tecnativa - Antonio Espinosa
# Copyright 2017 Tecnativa - Vicent Cubells
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
from .hooks import pre_init_hook
26 changes: 26 additions & 0 deletions mail_tracking_mass_mailing/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2016 Tecnativa - Antonio Espinosa
# Copyright 2017 Tecnativa - Vicent Cubells
# Copyright 2017 Tecnativa - David Vidal
# Copyright 2018 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Mail tracking for mass mailing",
"summary": "Improve mass mailing email tracking",
"version": "16.0.1.0.0",
"category": "Social Network",
"website": "https://github.com/OCA/social",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"auto_install": True,
"depends": ["mass_mailing", "mail_tracking"],
"data": [
"views/mail_tracking_email_view.xml",
"views/mail_trace_view.xml",
"views/mail_mass_mailing_view.xml",
"views/mailing_contact_view.xml",
],
"pre_init_hook": "pre_init_hook",
}
20 changes: 20 additions & 0 deletions mail_tracking_mass_mailing/hooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2016 Tecnativa - Antonio Espinosa
# Copyright 2017 Tecnativa - Vicent Cubells
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

import logging

try:
from odoo.addons.mail_tracking.hooks import column_add_with_value
except ImportError:
column_add_with_value = False

_logger = logging.getLogger(__name__)


def pre_init_hook(cr):
if column_add_with_value:
_logger.info("Creating mailing_contact.email_score column with value 50.0")
column_add_with_value(

Check warning on line 18 in mail_tracking_mass_mailing/hooks.py

View check run for this annotation

Codecov / codecov/patch

mail_tracking_mass_mailing/hooks.py#L17-L18

Added lines #L17 - L18 were not covered by tests
cr, "mailing_contact", "email_score", "double precision", 50.0
)
124 changes: 124 additions & 0 deletions mail_tracking_mass_mailing/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_tracking_mass_mailing
#
# Translators:
# OCA Transbot <[email protected]>, 2017
# Carles Antoli <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-18 04:04+0000\n"
"PO-Revision-Date: 2017-03-18 04:04+0000\n"
"Last-Translator: Carles Antoli <[email protected]>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\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"

#. module: mail_tracking_mass_mailing
#: model_terms:ir.ui.view,arch_db:mail_tracking_mass_mailing.mailing_trace_view_form
msgid "Country"
msgstr "País"

#. module: mail_tracking_mass_mailing
#: model:ir.model.fields,field_description:mail_tracking_mass_mailing.field_mailing_contact__email_bounced
msgid "Email Bounced"
msgstr ""

#. module: mail_tracking_mass_mailing
#: model_terms:ir.ui.view,arch_db:mail_tracking_mass_mailing.mailing_contact_view_search
msgid "Email bounced"
msgstr "Correu electrònic rebotat"

#. module: mail_tracking_mass_mailing
#: model:ir.model.fields,field_description:mail_tracking_mass_mailing.field_mailing_contact__email_score
msgid "Email score"
msgstr "Puntuació de correu electrònic"

#. module: mail_tracking_mass_mailing
#: model:ir.ui.menu,name:mail_tracking_mass_mailing.mail_tracking_email_menu
msgid "Emails"
msgstr "Correus electrònics"

#. module: mail_tracking_mass_mailing
#: model:ir.ui.menu,name:mail_tracking_mass_mailing.mail_tracking_event_menu
msgid "Events"
msgstr "Esdeveniments"

#. module: mail_tracking_mass_mailing
#: model:ir.model.fields,field_description:mail_tracking_mass_mailing.field_mail_tracking_email__mail_id_int
msgid "Mail ID"
msgstr "ID Correu electrònic"

#. module: mail_tracking_mass_mailing
#: model:ir.model.fields,field_description:mail_tracking_mass_mailing.field_mail_tracking_email__mail_stats_id
msgid "Mail statistics"
msgstr "Estadístiques de correu electrònic"

#. module: mail_tracking_mass_mailing
#: model:ir.model.fields,field_description:mail_tracking_mass_mailing.field_mailing_trace__mail_tracking_id
#: model:ir.ui.menu,name:mail_tracking_mass_mailing.mail_tracking_menu
msgid "Mail tracking"
msgstr "Seguiment del correu electrònic"

#. module: mail_tracking_mass_mailing
#: model:ir.actions.act_window,name:mail_tracking_mass_mailing.action_view_mail_tracking_email
msgid "Mail tracking emails"
msgstr "Seguiment dels missatges de correu electrònic"

#. module: mail_tracking_mass_mailing
#: model:ir.actions.act_window,name:mail_tracking_mass_mailing.action_view_mail_tracking_event
msgid "Mail tracking events"
msgstr "Seguiment dels esdeveniments dels missatges de correu electrònic"

#. module: mail_tracking_mass_mailing
#: model:ir.model,name:mail_tracking_mass_mailing.model_mail_tracking_email
msgid "MailTracking email"
msgstr "MailTracking correu electrònic"

#. module: mail_tracking_mass_mailing
#: model:ir.model,name:mail_tracking_mass_mailing.model_mail_tracking_event
msgid "MailTracking event"
msgstr "MailTracking esdeveniments"

#. module: mail_tracking_mass_mailing
#: model:ir.model,name:mail_tracking_mass_mailing.model_mailing_contact
#, fuzzy
msgid "Mailing Contact"
msgstr "Contactes del correu massiu"

#. module: mail_tracking_mass_mailing
#: model:ir.model,name:mail_tracking_mass_mailing.model_mailing_trace
#, fuzzy
msgid "Mailing Statistics"
msgstr "Estadístiques de correu electrònic"

#. module: mail_tracking_mass_mailing
#: model:ir.model.fields,field_description:mail_tracking_mass_mailing.field_mail_tracking_email__mass_mailing_id
#: model:ir.model.fields,field_description:mail_tracking_mass_mailing.field_mail_tracking_event__mass_mailing_id
msgid "Mass mailing"
msgstr "Correu massiu"

#. module: mail_tracking_mass_mailing
#: model_terms:ir.ui.view,arch_db:mail_tracking_mass_mailing.mailing_trace_view_form
msgid "OS"
msgstr ""

#. module: mail_tracking_mass_mailing
#: model:ir.model,name:mail_tracking_mass_mailing.model_mail_mail
msgid "Outgoing Mails"
msgstr "Correus sortints"

#. module: mail_tracking_mass_mailing
#: model:ir.model.fields,field_description:mail_tracking_mass_mailing.field_mailing_trace__tracking_event_ids
msgid "Tracking events"
msgstr "Esdeveniments de seguiment"

#. module: mail_tracking_mass_mailing
#: model_terms:ir.ui.view,arch_db:mail_tracking_mass_mailing.mailing_trace_view_form
msgid "User agent"
msgstr "Aplicació de l'usuari"
Loading
Loading