Commit Graph

337 Commits (b9eeff7ac74f5ed79b3f0da4728b7b6ecda0212d)

Author SHA1 Message Date
ernesto b9eeff7ac7 [MIG] mass_mailing_list_dynamic: Fix contact synchronization 2019-08-16 16:02:25 +02:00
Victor Martin 1776230992 [MIG] mass_mailing_list_dynamic: Migration to 12.0 2019-08-16 12:15:10 +02:00
oca-travis 654b88ffe0 [UPD] Update mass_mailing_list_dynamic.pot 2019-08-16 12:15:10 +02:00
David e42d13490b [IMP] mass_mailing_list_dynamic: make user aware of list change
- Adds is_synced field to track whether a dynamic list has unsynced
changes or not so the user is aware that the definitive number of
contacts is yet to be determined.
- It fixes an issue that made impossible deleting a res.partner filter
when a list had use it to filter contacts.
- It also shows only the filters available for the user (shared and
belonging to self).
2019-08-16 12:15:10 +02:00
David 3edb0ec21c [FIX] mass_mailing_list_dynamic: Reversible dynamic list 2019-08-16 12:15:10 +02:00
Pedro M. Baeza fb76420bff [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.
2019-08-16 12:15:10 +02:00
OCA Transbot dc5941bfa0 OCA Transbot updated translations from Transifex 2019-08-16 12:15:10 +02:00
Jairo Llopis ccc693d67b [ADD] mass_mailing_list_dynamic: Autopopulated mailing lists 2019-08-16 12:15:10 +02:00
eduardgm f76a8967f3 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/
2019-08-04 17:44:01 +00:00
oca-travis 689b681c25 [UPD] Update message_auto_subscribe_notify_own.pot 2019-07-30 10:30:17 +00:00
OCA-git-bot b9bb36a321 [ADD] setup.py 2019-07-30 09:58:04 +00:00
OCA-git-bot b84f7aeb9e [UPD] README.rst 2019-07-30 09:58:03 +00:00
Jordi Ballester Alomar 97538b14f4
Merge pull request #406 from Eficent/12.0-mig-message_auto_subscribe_notify_own
[12.0][MIG] message_auto_subscribe_notify_own
2019-07-30 11:57:56 +02:00
OCA-git-bot 55b6462953 [UPD] README.rst 2019-07-29 03:40:40 +00:00
OCA Transbot 37e0a4bb70 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mass_mailing_custom_unsubscribe
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mass_mailing_custom_unsubscribe/
2019-07-27 17:12:55 +00:00
OCA Transbot f63f59cc3a Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2019-07-27 16:37:48 +00:00
Pedro M. Baeza 42b246056a [FIX] mail_tracking: Show correctly blank image
Bad P2 > P3 conversion
2019-07-24 12:49:34 +02:00
OCA-git-bot 29a19f41db Merge PR #418 into 12.0
Signed-off-by pedrobaeza
2019-07-22 19:07:25 +00:00
OCA-git-bot ede34a2479 mail_tracking 12.0.1.1.2 2019-07-22 19:07:25 +00:00
oca-travis 19379a8aa4 [UPD] Update mail_tracking.pot 2019-07-22 18:52:07 +00:00
Alexandre Díaz a7dee897e5 [IMP] mail_tracking: Adapt test to set (not order preserved) 2019-07-22 20:36:31 +02:00
Alexandre Díaz 53b2692f28 [FIX] mail_tracking: Repeated suggested cc emails 2019-07-22 20:23:22 +02:00
OCA-git-bot d756b31f06 Merge PR #417 into 12.0
Signed-off-by pedrobaeza
2019-07-22 18:22:02 +00:00
OCA-git-bot 1c3dce8976 mail_tracking 12.0.1.1.1 2019-07-22 18:22:02 +00:00
oca-travis c9da1caf3d [UPD] Update mail_tracking.pot 2019-07-22 18:06:12 +00:00
Ihor a7b41f421b [FIX] Bug {TypeError: dict.message.hasEmailCc is not a function} during the creation of a new document. 2019-07-22 17:57:16 +00:00
OCA-git-bot e502eb1b87 Merge PR #402 into 12.0
Signed-off-by pedrobaeza
2019-07-22 17:34:57 +00:00
OCA-git-bot e282405f0f [ADD] setup.py 2019-07-22 17:34:57 +00:00
oca-travis dbb0269c96 [UPD] Update mass_mailing_custom_unsubscribe.pot 2019-07-22 17:15:49 +00:00
ernesto 3c15b9147d [MIG] mass_mailing_custom_unsubscribe: Migration to 12.0 2019-07-22 17:01:07 +00:00
OCA Transbot 74eb573c85 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2019-07-22 17:01:07 +00:00
OCA Git Bot 71335afe6d [UPD] README.rst 2019-07-22 17:01:07 +00:00
oca-travis f3f6efc1a4 [UPD] Update mass_mailing_custom_unsubscribe.pot 2019-07-22 17:01:07 +00:00
ernesto badd589fab mass_mailing_custom_unsubscribe: Fix testing error
Fix assertIn error thrown in testing mode
2019-07-22 17:01:07 +00:00
c2cdidier 8f37c0b455 Translated using Weblate (French)
Currently translated at 80.0% (44 of 55 strings)

Translation: social-11.0/social-11.0-mass_mailing_custom_unsubscribe
Translate-URL: https://translation.odoo-community.org/projects/social-11-0/social-11-0-mass_mailing_custom_unsubscribe/fr/
2019-07-22 17:01:07 +00:00
oca-travis a1feed639c [UPD] Update mass_mailing_custom_unsubscribe.pot 2019-07-22 17:01:07 +00:00
Stéphane Bidoul (ACSONE) cbe215726a [FIX] do not use section titles in readme fragments
This creates inconsistency issues when assembling them in the README.
2019-07-22 17:01:07 +00:00
David ff2e0cc58e [MIG] mass_mailing_custom_unsubscribe: Migration to 11.0 2019-07-22 17:01:07 +00:00
Jairo Llopis e79b5558c8 [IMP] mass_mailing_custom_unsubscribe: GDPR compliance (#267)
* [IMP] mass_mailing_custom_unsubscribe: GDPR compliance

- Record resubscriptions too.
- Record action metadata.
- Make ESLint happy.
- Quick color-based action distinction in tree view.
- Add useful quick groupings.
- Display (un)subscription metadata.
- Pivot & graph views.
2019-07-22 17:01:07 +00:00
OCA Transbot b67f51f2dd OCA Transbot updated translations from Transifex 2019-07-22 17:01:07 +00:00
Jairo Llopis 1af75e7684 [MIG][mass_mailing_custom_unsubscribe] Migrate to v10 2019-07-22 17:01:07 +00:00
OCA Transbot d6f874d1e2 OCA Transbot updated translations from Transifex 2019-07-22 17:01:07 +00:00
Jairo Llopis f4ec126a1a [9.0][MIG][mass_mailing_custom_unsubscribe] Migrate.
- Imported last updates from v8.
- Adapted to v9.
- Added a saner default to `mass_mailing.salt` configuration parameter by
  reusing `database.secret` if available, hoping that some day
  https://github.com/odoo/odoo/pull/12040 gets merged.
- Updated README.
- Increase security, drop backwards compatibility.
  Security got improved upstream, which would again break compatibility among current addon and future master upstream.
  I choose to break it now and keep it secured future-wise, so I drop the backwards compatibility features.
- Includes tour tests.
- Removes outdated tests.
- Extends the mailing list management form when unsubscriber is a contact.
- Adds a reason form even if he is not.
- Avoids all methods that were not model-agnostic.

[FIX][mass_mailing_custom_unsubscribe] Reasons noupdate

After this fix, when you update the addon, you will not lose your customized reasons.

[FIX] Compatibilize with mass_mailing_partner

Current test code was based on the assumption that the `@api.model` decorator on `create()` ensured an empty recordset when running the method, but that's not true. This was causing an incompatibility betwee these tests and the `mass_mailing_partner` addon, which works assuming 0-1 recordsets.

Now records are created from an empty recordset, and thus tests work everywhere.

Update instructions

If the user does not add the unsubscribe snippet, nothing will happen, so it's added to README to avoid confusion when testing/using the addon.

[FIX] Use the right operator to preserve recordsets order

Using `|=` sorts records at will each time (treating them as Python's `set`).
Using `+=` always appends a record to the end of the set.
Since we are using the record position in the set, this caused the test to work sometimes and fail other times. Now it works always.
2019-07-22 17:01:07 +00:00
Yajo d615c7d7fc [8.0][IMP][mass_mailing_custom_unsubscribe] Get reasons for unsubscription (#58)
* [8.0][IMP][mass_mailing_custom_unsubscribe] Get reasons for unsubscription.
2019-07-22 17:01:07 +00:00
Jairo Llopis 283d9d0e58 Add beautier pages for unsubscription process. 2019-07-22 17:01:07 +00:00
Pedro M. Baeza b5acef4dce [MIG] Rename manifest files 2019-07-22 17:01:07 +00:00
Stéphane Bidoul (ACSONE) b1511457cf [FIX] remove en.po that was erroneously created by transbot 2019-07-22 17:01:07 +00:00
Pedro M. Baeza 95540d3af8 [MIG] Make modules uninstallable 2019-07-22 17:01:07 +00:00
OCA Transbot 869b49acea OCA Transbot updated translations from Transifex 2019-07-22 17:01:07 +00:00
Antonio Espinosa d9959d6a7b [ADD] mass_mailing_custom_unsubscribe addon 2019-07-22 17:01:07 +00:00