Commit Graph

9 Commits (1ae0fbadf2caf4622dae85d71ba4fe35e60a798f)

Author SHA1 Message Date
Jared Kipe e60b30251e [MIG] mass_mailing_list_dynamic: Migration to 13.0 2020-07-17 07:06:29 -07:00
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 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