Commit Graph

8 Commits (17.0)

Author SHA1 Message Date
Mohamed Osman 005260d030 [MIG] mass_mailing_partner: Migration to 17.0 2024-03-27 16:18:43 +00:00
Minh Chien 0407c7cc82 [MIG] mass_mailing_partner: Migration to 16.0 2024-03-27 16:18:43 +00:00
david 0b62ef8fad [FIX] mass_mailing_partner: wrong company implementation
See issue https://github.com/OCA/social/issues/776
2024-03-27 16:18:43 +00:00
Areeb Siddiqi 23ee44861d [MIG] mass_mailing_partner: Migration to 14.0
[FIX] super(Class, self) changed to super() in mass_mailing_partners
2024-03-27 16:18:43 +00:00
Víctor Martínez 0ad5deb7ee [IMP+FIX] mass_mailing_partner: Add partner_name in error constrain message + Add test related to write with multi-partner + Add sudo() to prevent user without mailing access try to merge contacts 2024-03-27 16:18:43 +00:00
Pedro M. Baeza 157ee5d0de [FIX] mass_mailing_partner: Don't match partner if no email
It doesn't make sense and even more, it crashed.

Fixes #644
2024-03-27 16:18:43 +00:00
Jared Kipe 60b079cc6c [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.
2024-03-27 16:18:43 +00:00
Manuel Calero 434e10fbe5 [MIG] mass_mailing_partner: Migration to 13.0 2024-03-27 16:18:43 +00:00