Commit Graph

4 Commits (d4ac4d4ea0cfaa5ff22319d493b10c1ce2d3519d)

Author SHA1 Message Date
ernesto ac6bb81a18 [MIG] mass_mailing_partner: Migration to 11.0 2018-06-21 00:03:27 +02:00
David Vidal cdd5a2ea9a [FIX] mass_mailing_partner: compute fields performance (#271)
- In DB which use large amounts of records and intesive use of
mass_mailings, not optimized compute records lead to a drastical
decrease of performance
2018-06-20 11:57:07 +02:00
Jairo Llopis 4a0045c340 [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.
2018-06-20 11:57:07 +02:00
David Vidal 1657e77406 [MIG] mass_mailing_partner: Migration to 10.0 2018-06-20 11:57:07 +02:00