Commit Graph

12 Commits (d1329bb808534a659436f09cf2c965dbf33a3adb)

Author SHA1 Message Date
Xander De Jaegere 9fc6ecd447 [15.0-mig-mass] [MIG] mass_mailing_list_dynamic: Migration to 15.0 2023-03-04 11:09:03 +00:00
Víctor Martínez 0851367fe0 [MIG] mass_mailing_list_dynamic: Migration to 14.0
TT32133
2023-03-04 11:09:03 +00:00
Víctor Martínez 8ae21dba76 [IMP] mass_mailing_list_dynamic: black, isort, prettier 2023-03-04 11:09:03 +00:00
Jared Kipe 5a122e3d7e [MIG] mass_mailing_list_dynamic: Migration to 13.0
[UPD] Update mass_mailing_list_dynamic.pot

[UPD] README.rst

Update translation files

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

Translation: social-13.0/social-13.0-mass_mailing_list_dynamic
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mass_mailing_list_dynamic/

Update translation files

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

Translation: social-13.0/social-13.0-mass_mailing_list_dynamic
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mass_mailing_list_dynamic/
2023-03-04 11:09:03 +00:00
david 11ca99bbbe [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.
2023-03-04 11:09:03 +00:00
Jared Kipe 08784d8892 [IMP] mass_mailing_list_dynamic: black, isort 2023-03-04 11:09:03 +00:00
ernesto 4a33fa3152 [MIG] mass_mailing_list_dynamic: Fix contact synchronization 2023-03-04 11:09:03 +00:00
Victor Martin cf60d2b509 [MIG] mass_mailing_list_dynamic: Migration to 12.0 2023-03-04 11:09:03 +00:00
David 636b5960d7 [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).
2023-03-04 11:09:03 +00:00
David 5886f41ce2 [FIX] mass_mailing_list_dynamic: Reversible dynamic list 2023-03-04 11:09:02 +00:00
Pedro M. Baeza ae72bdeab7 [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.
2023-03-04 11:09:02 +00:00
Jairo Llopis b7c905430e [ADD] mass_mailing_list_dynamic: Autopopulated mailing lists 2023-03-04 11:09:02 +00:00