social/mass_mailing_partner/models
Jairo Llopis 646e0a8e00 [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.
2022-01-01 16:22:46 +01:00
..
__init__.py [MIG] mass_mailing_partner: Migration to 10.0 2022-01-01 16:22:46 +01:00
mail_mail_statistics.py [MIG] mass_mailing_partner: Migration to 10.0 2022-01-01 16:22:46 +01:00
mail_mass_mailing_contact.py [MIG] mass_mailing_partner: Migration to 10.0 2022-01-01 16:22:46 +01:00
mail_mass_mailing.py [MIG] mass_mailing_partner: Migration to 10.0 2022-01-01 16:22:46 +01:00
res_partner.py [FIX] mass_mailing_partner: Allow unprivileged users to edit partners 2022-01-01 16:22:46 +01:00