Commit Graph

502 Commits (80eb0afecd6e5569bdb3b4a33cf4fd46d65ee1a6)

Author SHA1 Message Date
Manuel Calero Solís 3478151927
fixed the problem reported by @ernestotejeda 2020-02-12 12:30:19 +01:00
Manuel Calero Solís 8197a2aff5
Delete empty line 2020-02-11 11:15:29 +01:00
OCA Transbot f90b32bcf2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-13.0/social-13.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_tracking/
2020-02-10 13:06:00 +00:00
OCA-git-bot 7ffaa68657 [ADD] setup.py 2020-02-10 13:05:50 +00:00
oca-travis 9295a53b06 [UPD] Update mass_mailing_resend.pot 2020-02-10 12:54:14 +00:00
oca-travis 2da445188f [UPD] Update mail_tracking.pot 2020-02-10 12:54:13 +00:00
oca-travis 27c51c8bee [UPD] Update mail_activity_done.pot 2020-02-10 12:54:12 +00:00
OCA-git-bot 321a10f123 Merge PR #495 into 13.0
Signed-off-by pedrobaeza
2020-02-10 12:46:10 +00:00
Manuel Calero 65b1a9a92a [MIG] mass_mailing_partner: Migration to 13.0 2020-02-10 11:49:12 +01:00
Manuel Calero d7ccc735c6 [IMP] mass_mailing_partner: black, isort 2020-02-10 11:35:23 +01:00
david db0195ad71 [FIX] mass_mailing_partner: prevent singleton error 2020-02-10 11:32:23 +01:00
Tonow-c2c 505d7830a9 [FIX][12.0][mass_mailing_partner] _check_email_mass_mailing_contacts loop not on self but partner 2020-02-10 11:32:23 +01:00
ernesto ec9b7bd728 mass_mailing_partner: Improve wizard behavior
For each partner, if already has a contact it's added to the selected
list, otherwise a new one is created
2020-02-10 11:32:23 +01:00
Sergio Teruel d1237ae13c [12.0][MIG] mass_mailing_partner: Migration to v12.0 2020-02-10 11:20:03 +01:00
ernesto c3993506cd [MIG] mass_mailing_partner: Migration to 11.0 2020-02-10 11:20:03 +01:00
David Vidal 1da60acca8 [FIX] mass_mailing_partner: compute fields performance (#271)
- In DB which use large amounts of records and intesive use of
mass_mailings, not optimized compute records lead to a drastical
decrease of performance
2020-02-10 11:20:03 +01:00
Pedro M. Baeza 5a56d536e7 [FIX+IMP] mass_mailing_list_dynamic: tests, icons, filters... (#211)
* [FIX+IMP] mass_mailing_list_dynamic: tests, icons, filters...

* Brand new icon
* Added feature of loading an existing filter as criteria
* Tests as SavepointCase for optimizing times
* Tests in post-install for avoiding errors on res.partner not null constraints
  when several modules added them.
* Updated documentation.
* Fix mock in test for not commiting test data.

* [FIX] mass_mailing_list_dynamic: Wasn't able to create contacts in fully synced lists

Syncing context was being set in the wrong object. Added to test too.

* [FIX] mass_mailing_list_dynamic: Allow to write back vals from res.partner

Module mass_mailing_partner writes back certain values from partner to
mass_mailing_contact. Module should allow that write operation.
2020-02-10 11:20:03 +01:00
OCA Transbot 8208b26853 OCA Transbot updated translations from Transifex 2020-02-10 11:20:03 +01:00
Jairo Llopis 436f18a737 [FIX] mass_mailing_partner: Allow unprivileged users to edit partners
Without this patch, users without access to reading and editing mass mailing contact records are now unable to change a partner's name or email. They'd recieve an exception such as:

    AccessError: Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:
    - Mass Mailing/User

    (Document model: mail.mass_mailing.contact)

Restrictive ACLs shouldn't restrict normal user operation nor DB consistency, so using sudo mode now and testing behavior.
2020-02-10 11:20:03 +01:00
David Vidal fd69f41a49 [MIG] mass_mailing_partner: Migration to 10.0 2020-02-10 11:20:03 +01:00
Jairo Llopis 0cc443661c [FIX] mass_mailing_partner: Several things:
* Exclude opt_out.

  Now opted-out records will not be counted in the "Mailing lists" smart button
  in the partner form.

* Avoid duplicate error.

  By indicating the exact `partner_id` and ensuring no contacts associated to it are found, you avoid possible duplication errors when several partners share the same name or email.
2020-02-10 11:20:03 +01:00
Antonio Espinosa 08e21a27c4 Link mail statistics to partner (#104)
[IMP] mass_mailing_partner: Link mail statistics to partner
2020-02-10 11:20:03 +01:00
OCA Transbot f708dde885 OCA Transbot updated translations from Transifex 2020-02-10 11:20:03 +01:00
Javier Iniesta 8d22ea4f1d mass_mailing_partner 2020-02-10 11:20:03 +01:00
Pedro M. Baeza 3283b54864 [MIG] mass_mailing_resend: Migration to 13.0 2020-02-07 16:11:23 +01:00
OCA-git-bot 825a6d0f02 [ADD] setup.py 2020-02-05 16:59:06 +00:00
OCA-git-bot 96147dc1ca [UPD] README.rst 2020-02-05 16:59:06 +00:00
oca-travis 1103aad05a [UPD] Update mail_tracking.pot 2020-02-05 16:49:39 +00:00
OCA-git-bot 533241c1dc Merge PR #464 into 13.0
Signed-off-by pedrobaeza
2020-02-05 16:38:46 +00:00
Alexandre Díaz 62d04f9d7d [MIG] mail_tracking: Migration to 13.0 2020-02-05 17:32:40 +01:00
Alexandre Díaz c16bb47d6f [IMP] mail_tracking: black, isort 2020-02-05 16:34:45 +01:00
OCA-git-bot 78b9d825b1 mail_tracking 12.0.2.0.1 2020-02-05 14:57:34 +01:00
Alexandre Díaz 0f36b4c04d [FIX] mail_tracking: Refresh thread widget when sets a message as reviewed
Previous this commit, failed messages widget data wasn't updated properly when you
set as reviewed/retry the last message displayed.

This commit resolve the problem and improves the "set as reviewed" action to avoid
multi-user inconsistencies (don't toggle the value).
2020-02-05 14:57:34 +01:00
OCA-git-bot 46dcaa3262 mail_tracking 12.0.2.0.0 2020-02-05 14:57:34 +01:00
Alexandre Díaz 29905e66f9 [IMP] mail_tracking: Failed Messages to 12.0 2020-02-05 14:57:34 +01:00
Alexandre Díaz 14dddbac3e [IMP] mail_tracking: translations 2020-02-05 14:57:34 +01:00
Alexandre Díaz aa9ace1c72 [IMP] mail_tracking: Convert 'partner_trackings' to dict 2020-02-05 14:57:34 +01:00
Alexandre Díaz e47ef4ed00 [IMP] mail_tracking: Cc name & check if mail is Cc 2020-02-05 14:57:34 +01:00
David cea7f76c8e [IMP] mail_tracking: mail.thread filter for tracking errors
- Any model inheriting from mail.thread will have a filter available to
obtain records with errors in their messages trackings.
- The messages can be marked as done to avoid false positives when the
issues are solved.
2020-02-05 14:57:34 +01:00
eduardgm c69a2ab3b4 Translated using Weblate (Spanish)
Currently translated at 33.3% (29 of 87 strings)

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/es/
2020-02-05 14:57:34 +01:00
Pedro M. Baeza e4264967f1 [FIX] mail_tracking: Show correctly blank image
Bad P2 > P3 conversion
2020-02-05 14:57:34 +01:00
OCA-git-bot 34a760bbfd mail_tracking 12.0.1.1.2 2020-02-05 14:57:34 +01:00
Alexandre Díaz f69275c427 [IMP] mail_tracking: Adapt test to set (not order preserved) 2020-02-05 14:57:34 +01:00
Alexandre Díaz e060919e23 [FIX] mail_tracking: Repeated suggested cc emails 2020-02-05 14:57:34 +01:00
OCA-git-bot 8cb911d38f mail_tracking 12.0.1.1.1 2020-02-05 14:57:34 +01:00
Ihor f7321ef712 [FIX] Bug {TypeError: dict.message.hasEmailCc is not a function} during the creation of a new document. 2020-02-05 14:57:34 +01:00
OCA-git-bot b4401aff47 mail_tracking 12.0.1.1.0 2020-02-05 14:57:34 +01:00
Alexandre Díaz 6b2c9ff48c [MIG] mail_tracking: Adapt Cc to 12.0 2020-02-05 14:57:34 +01:00
Alexandre Díaz fe5be21833 [IMP] mail_tracking: Cc 2020-02-05 14:57:34 +01:00
Pedro M. Baeza 1a9892d3d0 [FIX] mail_tracking: Don't call write inside other write
Or infinite recursions will happen on other `write` overwrites, like the one that happens
on `mass_mailing_partner`.
2020-02-05 14:57:34 +01:00