Commit Graph

9 Commits (1146b377acb9114757a032f51a8c142cc3722fd7)

Author SHA1 Message Date
OCA-git-bot 8f0537c7df mass_mailing_list_dynamic 12.0.1.0.4 2021-03-17 20:38:03 +00:00
Pedro M. Baeza 4d1bc89cf8 [FIX] mass_mailing_list_dynamic: Detect rough cases for contact modifications
Followup of 11067ea9cf

There are 2 cases that breaks the validation:

- If you write list_ids through dot notation, the ORM converts always to command
  [(6, 0, <full_list_of_ids>)], so the validation fails, as it checks lists that
  have not been modified. Now the diff is done for not having false positives.
- The constraint is being triggered even if there's no real change on the affected
  fields. We move the check to the existing create/method code for checking there
  real changes.

TT25002
2020-08-01 12:01:10 +02:00
OCA-git-bot caa33a349e mass_mailing_list_dynamic 12.0.1.0.2 2020-07-30 06:19:47 +00:00
OCA-git-bot 6ecc9c52f3 mass_mailing_list_dynamic 12.0.1.0.1 2020-07-16 13:33:45 +00:00
Victor Martin 1776230992 [MIG] mass_mailing_list_dynamic: Migration to 12.0 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
Jairo Llopis ccc693d67b [ADD] mass_mailing_list_dynamic: Autopopulated mailing lists 2019-08-16 12:15:10 +02:00