Commit Graph

9 Commits (3522215b5112c11f0ba8fd2013fa889e0d82c673)

Author SHA1 Message Date
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
Manuel Calero 434e10fbe5 [MIG] mass_mailing_partner: Migration to 13.0 2024-03-27 16:18:43 +00:00
Manuel Calero 9ab0f87b50 [IMP] mass_mailing_partner: black, isort 2024-03-27 16:18:43 +00:00
Sergio Teruel 1303fbe895 [12.0][MIG] mass_mailing_partner: Migration to v12.0 2024-03-27 16:18:43 +00:00
ernesto 1754ee19f2 [MIG] mass_mailing_partner: Migration to 11.0 2024-03-27 16:18:43 +00:00
Jairo Llopis 5e74507d89 [FIX] mass_mailing_partner: Allow unprivileged users to edit partners
Without this patch, users without access to reading and editing mass mailing contact records are now unable to change a partner's name or email. They'd recieve an exception such as:

    AccessError: Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:
    - Mass Mailing/User

    (Document model: mail.mass_mailing.contact)

Restrictive ACLs shouldn't restrict normal user operation nor DB consistency, so using sudo mode now and testing behavior.
2024-03-27 16:18:43 +00:00
David Vidal 6953201f2a [MIG] mass_mailing_partner: Migration to 10.0 2024-03-27 16:18:43 +00:00
Antonio Espinosa b7ef9148e8 Link mail statistics to partner (#104)
[IMP] mass_mailing_partner: Link mail statistics to partner
2024-03-27 16:18:43 +00:00
Javier Iniesta e3f9bc0e73 mass_mailing_partner 2024-03-27 16:18:43 +00:00