Commit Graph

964 Commits (ac433decd66c40faae990d4deb8c4900fd09e991)

Author SHA1 Message Date
sergio-teruel a9b04f6708 [FIX] mail_tracking: permissions. fw-port 2023-02-01 10:43:01 +01:00
sergio-teruel bc4b24f3da [MIG] mail_tracking_mass_mailing: Migration to v15.0 2023-02-01 10:43:01 +01:00
OCA-git-bot 151b1b6514 mail_tracking_mass_mailing 14.0.1.0.1 2023-02-01 10:43:01 +01:00
Akim Juillerat d1bd4b8658 mail_tracking_mass_mailing: Set traces in error according to tracking
If an exception is caught by ir.mail_server.send_email in mail_tracking module,
the mail.tracking.email record will appear in error but the related mailing
trace would still appear as sent because mail.mail._postprocess_sent_message is
called without any failure_type in mail.mail._send in the mail module (as Exception
is not raised after being caught in mail_tracking module).

Since _postprocess_sent_message method not only sets the mailing.trace state in
mass_mailing module but can also delete the mail.mail records in mail module,
we need to ensure the mailing.trace is written accordingly to the tracking here,
and avoid having the mass_mailing module set a 'sent' status if we had an exception,
hence the usage of a context key to ignore possible writes.
2023-02-01 10:43:01 +01:00
OCA-git-bot 59c933226e [UPD] README.rst 2023-02-01 10:43:01 +01:00
oca-travis bfd8c559d8 [UPD] Update mail_tracking_mass_mailing.pot 2023-02-01 10:43:01 +01:00
Carlos Roca 7d09eacf9a [MIG] mail_tracking_mass_mailing: Migration to v14.0 2023-02-01 10:43:01 +01:00
Jairo Llopis dd6e060ed0 [IMP] pre-commit run -a 2023-02-01 10:43:01 +01:00
Katherine Zaoral 6fea297ed7 [MIG] mail_tracking_mass_mailing: Migration to 13.0
* Change references to mail_mail_statistics model with mail_trace
* Change references to mail.mass_mailing model with mailing.mailing
* Change reference to statistics_ids field with mailing_trace_ids
* Change reference to send_mail method with action_send_mail
* Replace mailing.mailing name for required subject field
* fix view reference not_blacklisted with filter_not_email_bl
* fix not-stored compute, set value for all the records
2023-02-01 10:43:01 +01:00
Katherine Zaoral ecdfa394c0 [IMP] mail_tracking_mass_mailing: black, isort, prettier 2023-02-01 10:43:01 +01:00
ernesto 337506f700 [MIG] mail_tracking_mass_mailing: Migration to 12.0
Update translation files

    [UPD] Update mail_tracking_mass_mailing.pot

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

    Translation: social-12.0/social-12.0-mail_tracking_mass_mailing
    Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking_mass_mailing/

[UPD] README.rst

Translated using Weblate (Portuguese)

    Currently translated at 94.7% (18 of 19 strings)

    Translation: social-12.0/social-12.0-mail_tracking_mass_mailing
    Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking_mass_mailing/pt/

Translated using Weblate (Slovenian)

    Currently translated at 100.0% (19 of 19 strings)

    Translation: social-12.0/social-12.0-mail_tracking_mass_mailing
    Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking_mass_mailing/sl/
2023-02-01 10:43:00 +01:00
Pedro M. Baeza b2bc458ec3 [MIG] mail_tracking_mass_mailing: Migration to 11.0
* Standard procedure
* Adapt tests
* New README by fragments

[UPD] README.rst
2023-02-01 10:43:00 +01:00
Jairo Llopis 7b100e5a3e [FIX] mail_tracking_mass_mailing: Integration tests (#258)
Testing this addon failed if i.e. `mass_mailing_list_dynamic` was installed before.

Moving tests to post-install mode fixes integration tests.
2023-02-01 10:43:00 +01:00
David Vidal 503fbb9de8 [10.0] mail_tracking_mass_mailing: Migration to 10.0 2023-02-01 10:43:00 +01:00
cubells 95ba212852 mail_tracking_mass_mailing module
OCA Transbot updated translations from Transifex
2023-02-01 10:43:00 +01:00
Antonio Espinosa bc3fcd52cd mail_tracking_mass_mailing (#78)
[ADD] mail_tracking_mass_mailing

==============================
Mail tracking for mass mailing
==============================

Links mail statistics objects with mail tracking objects.

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

As a bonus feature, you have a new checkbox 'Avoid resend' in mass mailing,
in order to not send twice the same email to the same recipient. This is very
useful when you want to resend the mass mailing after changing selection
recipients. Notice that recipient selection could be a domain over a model, so
result ids could change over the time. With this flag you can send
the same email several times but only once to each recipient.

OCA Transbot updated translations from Transifex
2023-02-01 10:43:00 +01:00
David e996d10a13 [FIX] mail_tracking: js linter warnings 2023-01-31 18:30:11 +01:00
Weblate 9365649953 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-15.0/social-15.0-mail_tracking_mailgun
Translate-URL: https://translation.odoo-community.org/projects/social-15-0/social-15-0-mail_tracking_mailgun/
2023-01-31 17:28:08 +00:00
Weblate 03c884b2ca Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-15.0/social-15.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-15-0/social-15-0-mail_tracking/
2023-01-31 17:28:08 +00:00
OCA-git-bot 200fab8d63 [UPD] addons table in README.md 2023-01-31 17:27:57 +00:00
OCA-git-bot 231926dfcb mail_tracking 15.0.1.1.0 2023-01-31 17:27:51 +00:00
OCA-git-bot d83a096ac0 mail_tracking_mailgun 15.0.1.1.0 2023-01-31 17:27:50 +00:00
oca-ci 090f2c7582 [UPD] Update mail_tracking_mailgun.pot 2023-01-31 17:23:32 +00:00
oca-ci e9dcbce7f6 [UPD] Update mail_tracking.pot 2023-01-31 17:23:32 +00:00
Stephane Mangin 4cd143e729 [IMP] mail_tracking: remove legacy hooks 2023-01-31 18:21:32 +01:00
OCA-git-bot 0646d49cf6 Merge PR #1056 into 15.0
Signed-off-by pedrobaeza
2023-01-31 17:20:40 +00:00
david 015376b0f4 [FIX] mail_tracking: permissions
Refine which mail tracking record is allowed to see. We can rely on the
ACLs of the related records so we minimize inconvenient message subject
leaks.

A regular user can read these mail.tracking.email records:

- Those with a linked mail.message that the user can read
- Those with a linked mail.mail that the user can read
- Those with no message/mail link but a linked partner that the user can
read.
- Those with no linked records.

TT31399
2023-01-31 18:18:59 +01:00
sugapablo 39628af6d6 [FIX] mail_tracking: error when filtering by "Sent" 2023-01-31 18:16:36 +01:00
Jairo Llopis 43875033ae [FIX] mail_tracking: process sent events
Up until now, the `sent` event type was never processed, probably because it "made no sense", as an unsent email would never trigger an event.

However, it makes sense to process it because you may have a local relay that transmits mails over to the mail provider. In those circumstances, you should have 2 "sent" events (one from the relay and another one from the provider).

Also marked some useless parts of code for removal.

@Tecnativa TT32365
2023-01-31 18:12:45 +01:00
David 062f38577b [IMP] mail_tracking_mailgun: mass mailing manual tracking
Mass mailing are tracked from mail.trace as the don't store a message in
the db. In order to gather the message_id and be able to do manual
checks to mailgun, that's the table where we should get the message id.

TT40816
2023-01-31 18:00:05 +01:00
Weblate 22bc7c48d9 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-15.0/social-15.0-mail_activity_team
Translate-URL: https://translation.odoo-community.org/projects/social-15-0/social-15-0-mail_activity_team/
2023-01-31 12:11:38 +00:00
OCA-git-bot abec411016 [UPD] addons table in README.md 2023-01-31 12:11:21 +00:00
OCA-git-bot 4178c9f8ea mail_activity_team 15.0.2.0.0 2023-01-31 12:11:15 +00:00
oca-ci a5b9b364df [UPD] Update mail_activity_team.pot 2023-01-31 12:07:49 +00:00
OCA-git-bot 705ea962a1 Merge PR #1054 into 15.0
Signed-off-by pedrobaeza
2023-01-31 12:05:07 +00:00
Pedro M. Baeza 39d158d56d
Merge pull request #1055 from camptocamp/15.0-copier-update
[15.0] [UPD] copier: update dotfiles from repo template
2023-01-31 13:04:22 +01:00
Ivàn Todorovich 4503c0d9d8
[UPD] copier: update dotfiles from repo template 2023-01-31 08:59:55 -03:00
Ivàn Todorovich f8bcc84da2
[IMP] mail_activity_team: Allow to force a team on server actions 2023-01-30 16:21:36 -03:00
David 61a3307900 [FIX] mail_tracking: mixed classes
In migration #873 the classes DiscussController and MailController which
are the result of an upstream functionality split are merge altogether
in this module override causing undesired side effects in other modules
trying to extend those (i.e.: portal)

TT41432
2023-01-30 18:16:15 +01:00
OCA-git-bot 3807245955 [ADD] setup.py 2023-01-24 14:21:23 +00:00
OCA-git-bot fd44ab057b [UPD] README.rst 2023-01-24 14:21:22 +00:00
OCA-git-bot 81c42b50bb [UPD] addons table in README.md 2023-01-24 14:21:19 +00:00
oca-ci c98045cb92 [UPD] Update mail_restrict_follower_selection.pot 2023-01-24 14:17:52 +00:00
OCA-git-bot 8a8e41a43e Merge PR #965 into 15.0
Signed-off-by etobella
2023-01-24 14:14:11 +00:00
Aungkokolin1997 19253d39c8 [RMV] remove en.po 2023-01-24 18:58:58 +06:30
Aungkokolin1997 5518f90a6d [15.0][MIG] mail_restrict_follower_selection: Migration to 15.0 2023-01-24 18:57:50 +06:30
Aungkokolin1997 6b2fc04795 [IMP] mail_restrict_follower_selection: black, isort, prettier 2023-01-24 18:57:50 +06:30
OCA Transbot 5d7716a557 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-14.0/social-14.0-mail_restrict_follower_selection
Translate-URL: https://translation.odoo-community.org/projects/social-14-0/social-14-0-mail_restrict_follower_selection/
2023-01-24 18:57:50 +06:30
OCA-git-bot 9b0baff807 [UPD] README.rst 2023-01-24 18:57:50 +06:30
oca-travis 816d0850ae [UPD] Update mail_restrict_follower_selection.pot 2023-01-24 18:57:50 +06:30