Commit Graph

443 Commits (c00d77b7d065f82fbf6ec848e70b823a58cc310a)

Author SHA1 Message Date
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
ernesto 31948be06f [MIG] mail_tracking: Migration to 12.0 2020-02-05 14:57:34 +01:00
eduardgm 9970a09122 Translated using Weblate (Catalan)
Currently translated at 96.3% (79 of 82 strings)

Translation: social-11.0/social-11.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-11-0/social-11-0-mail_tracking/ca/
2020-02-05 14:57:34 +01:00
Pedro M. Baeza 9d7a3a3941 [IMP] mail_tracking: Put button box at the end of the view
For giving more priority to other buttons like the invoices one.
2020-02-05 14:57:34 +01:00
Piotr Kowalski 291db4e752 Fix README.rst images not visible in GitHub and Odoo
Closes #303
2020-02-05 14:57:34 +01:00
David Vidal 8890ec87ea [IMP] mail_tracking: email score performance (#299) 2020-02-05 14:57:34 +01:00
c2cdidier 8b13d1de61 Translated using Weblate (French) [ci skip]
Currently translated at 100.0% (82 of 82 strings)

Translation: social-11.0/social-11.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-11-0/social-11-0-mail_tracking/fr/
2020-02-05 14:57:34 +01:00
David 8f30f4daa9 [MIG] mail_tracking: Migration to 11.0 2020-02-05 14:57:34 +01:00
Emanuel Cino a663661e58 [FIX] mail_tracking js could break other modules using chat_manager 2020-02-05 14:57:34 +01:00
eLBati 09ff021613 IMP mail_tracking performances
On our server,
queries based on "mail_tracking_event"."tracking_email_id" improved from 501,924 ms to 1,840 ms
queries based on "mail_tracking_email"."mail_message_id" improved from 167,436 ms to 3,223 ms

The last ones are run several times when a thread has many messages
2020-02-05 14:57:34 +01:00