Commit Graph

443 Commits (c00d77b7d065f82fbf6ec848e70b823a58cc310a)

Author SHA1 Message Date
david 56f9baa2b2 [FIX] mass_mailing_list_dynamic: list sync on send
- We change the method to hook on (it wasn't correctly overriden anyway)
to ensure the list is resynced even if no recipients are left. For
example: we create a dynamic list with a domain expecting it to sync in
the first mass_mailing. It wouldn't sync as Odoo dismisses the mailing
considering no recipients are left thus it wouldn't get into the
`send_mail` method.
2020-07-17 06:54:07 -07:00
Jared Kipe 09fa32b753 [FIX] mass_mailing_partner: Unsubscribe should not unlink the subscription.
Before, on the backend if you check the `opt_out` checkbox and saving on a `mailing.contact`, the entire row (`mailing.contact.subscription`) would be unlinked.  Combined with `mass_mailing_list_dynamic` this means the contact would just be re-subscribed over and over.

After, check `opt_out` will fill `unsubscription_date` and the row will stay.  Tests in `mass_mailing_list_dynamic` pass.
2020-07-16 10:38:51 -07:00
Jared Kipe 3838e656ea [IMP] mass_mailing_list_dynamic: black, isort 2020-07-16 09:30:03 -07:00
ernesto d18a93f5e1 [MIG] mass_mailing_list_dynamic: Fix contact synchronization 2020-07-16 09:30:03 -07:00
Victor Martin 40323caccb [MIG] mass_mailing_list_dynamic: Migration to 12.0 2020-07-16 09:30:03 -07:00
David 02c4b2c0a7 [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).
2020-07-16 09:30:03 -07:00
David 05750aae47 [FIX] mass_mailing_list_dynamic: Reversible dynamic list 2020-07-16 09:30:03 -07:00
Pedro M. Baeza 522fe3fafb [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-07-16 09:30:03 -07:00
Jairo Llopis e1c17f30e4 [ADD] mass_mailing_list_dynamic: Autopopulated mailing lists 2020-07-16 09:30:03 -07:00
Jared Kipe 4e90fb2368 [FIX] mass_mailing_partner: Unsubscribe should not unlink the subscription.
Before, on the backend if you check the `opt_out` checkbox and saving on a `mailing.contact`, the entire row (`mailing.contact.subscription`) would be unlinked.  Combined with `mass_mailing_list_dynamic` this means the contact would just be re-subscribed over and over.

After, check `opt_out` will fill `unsubscription_date` and the row will stay.  Tests in `mass_mailing_list_dynamic` pass.
2020-07-16 09:30:03 -07:00
OCA-git-bot 412c00b1dc [ADD] setup.py 2020-07-10 10:25:26 +00:00
oca-travis 959c1570f1 [UPD] Update base_search_mail_content.pot 2020-07-10 10:17:58 +00:00
OCA-git-bot 6d1dde213c Merge PR #566 into 13.0
Signed-off-by pedrobaeza
2020-07-10 10:10:05 +00:00
Ernesto Tejeda 829d41c893 [MIG] base_search_mail_content: Migration to 13.0 2020-07-09 23:37:37 -04:00
Ernesto Tejeda 8e0d0163d7 [IMP] base_search_mail_content: black, isort, prettier 2020-07-09 23:26:34 -04:00
Rodrigo Macedo 340a4aaaff Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (6 of 6 strings)

Translation: social-12.0/social-12.0-base_search_mail_content
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-base_search_mail_content/pt_BR/
2020-07-09 23:26:34 -04:00
oca-travis d705a140b5 Administrative commits
[UPD] Update base_search_mail_content.pot

Update translation files

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

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

[UPD] Update base_search_mail_content.pot

Update translation files

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

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

[UPD] README.rst
2020-07-09 23:26:34 -04:00
ernesto c4568b1d6b [MIG] base_search_mail_content: Migration to 12.0 2020-07-09 23:25:22 -04:00
hveficent 75ea0b4e76 [11.0][FIX] base_search_mail_content: Move message content search to last position 2020-07-09 23:25:22 -04:00
OCA Git Bot 68388dee08 Administrative commits
[UPD] README.rst

[UPD] Update base_search_mail_content.pot

Update translation files

Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2020-07-09 23:25:22 -04:00
c2cdidier 0a37a1042d Translated using Weblate (French) [ci skip]
Currently translated at 100.0% (4 of 4 strings)

Translation: social-11.0/social-11.0-base_search_mail_content
Translate-URL: https://translation.odoo-community.org/projects/social-11-0/social-11-0-base_search_mail_content/fr/
2020-07-09 23:24:16 -04:00
oca-travis 68f3771a39 Administrative commits
[UPD] Update base_search_mail_content.pot

[UPD] README.rst
2020-07-09 23:23:43 -04:00
cubells 90b88fe958 [MIG] base_search_mail_content: Migration to 11.0 2020-07-09 16:08:43 -04:00
OCA Transbot 5a66490ec1 OCA Transbot updated translations from Transifex 2020-07-09 16:08:43 -04:00
mreficent 77ccc7c925 [MIG] base_search_mail_content: Migration to 10.0 2020-07-09 16:08:43 -04:00
OCA Transbot 26aba51319 OCA Transbot updated translations from Transifex 2020-07-09 16:08:43 -04:00
darshan-serpent 763dde0d54 [IMP] advanced search for negative expression 2020-07-09 16:08:43 -04:00
ahenriquez 6eafc8fa13 [IMP] search by email_from and reply_to
Introduce search of html fields
Create indexes
Update Readme
2020-07-09 16:08:43 -04:00
darshan-serpent 832b1fda9d [ADD] renamed module to base_search_mail_content 2020-07-09 16:08:43 -04:00
OCA Transbot c208331785 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-13.0/social-13.0-mail_tracking_mass_mailing
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_tracking_mass_mailing/
2020-07-09 14:17:26 +00:00
OCA-git-bot 0cb834591d mail_activity_board 13.0.1.0.1 2020-07-09 14:17:13 +00:00
OCA-git-bot 2a912e77ff Merge PR #564 into 13.0
Signed-off-by JordiBForgeFlow
2020-07-09 14:06:08 +00:00
mreficent f1d7030dc2 [FIX] solved: unlink issue due to bad migration 2020-07-08 20:37:18 +02:00
Frédéric Garbely 3e282bf0e0 [IMP] mail_outbound_static: black, isort, prettier 2020-06-30 16:21:11 +02:00
Frédéric Garbely a25bea81d2 [MIG] mail_outbound_static: Migration to 13.0 2020-06-30 15:46:25 +02:00
OCA-git-bot 2adbc4d153 [UPD] README.rst 2020-06-30 15:43:57 +02:00
oca-travis 555962395f [UPD] Update mail_outbound_static.pot 2020-06-30 15:43:57 +02:00
Lorenzo Battistini d3b83d44d7 Update website in mail_outbound_static/__manifest__.py
Co-Authored-By: Jairo Llopis <Yajo@users.noreply.github.com>
2020-06-30 15:43:57 +02:00
eLBati 1415962d8d Port mail_outbound_static to 12.0
Fixing and extending tests
Add setup
2020-06-30 15:43:57 +02:00
Dave Lasley 38ca4515e6 ADD mail_outbound_static: Allow configuration of from email header
* Allow for the configuration of the FROM header for outbound emails, and move the existing from header to Sender as per RFC-2822
2020-06-30 15:43:57 +02:00
OCA-git-bot 433cb9e5b9 [ADD] setup.py 2020-06-10 08:14:43 +00:00
OCA-git-bot 20e32ef74b [UPD] README.rst 2020-06-10 08:14:43 +00:00
oca-travis 79a5a51898 [UPD] Update mail_tracking_mass_mailing.pot 2020-06-10 08:02:12 +00:00
OCA-git-bot 5229a02c68 Merge PR #550 into 13.0
Signed-off-by pedrobaeza
2020-06-10 07:50:54 +00:00
Katherine Zaoral 2c2ead4486 [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
2020-06-09 10:49:56 -03:00
Katherine Zaoral d3426a13d5 [IMP] mail_tracking_mass_mailing: black, isort, prettier 2020-06-09 10:49:56 -03:00
ernesto a25f6c8ade [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/
2020-06-09 10:37:15 -03:00
Pedro M. Baeza af2d969e3e [MIG] mail_tracking_mass_mailing: Migration to 11.0
* Standard procedure
* Adapt tests
* New README by fragments

[UPD] README.rst
2020-06-09 10:37:08 -03:00
Jairo Llopis edadc5b810 [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.
2020-06-09 10:37:04 -03:00
David Vidal b5003d30be [10.0] mail_tracking_mass_mailing: Migration to 10.0 2020-06-09 10:37:04 -03:00