From d2ce4d932226cebba37026e851691f3c97737d48 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Tue, 16 Jul 2019 08:40:45 +0100 Subject: [PATCH] !squash [MIG] privacy_consent: Migrate to v12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Alexandre Díaz --- privacy_consent/models/privacy_consent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/privacy_consent/models/privacy_consent.py b/privacy_consent/models/privacy_consent.py index 71e77a8..98fe56b 100644 --- a/privacy_consent/models/privacy_consent.py +++ b/privacy_consent/models/privacy_consent.py @@ -130,12 +130,12 @@ class PrivacyConsent(models.Model): def write(self, vals): """Run server action on update.""" - result = super(PrivacyConsent, self).write(vals) + result = super().write(vals) self._run_action() return result def message_get_suggested_recipients(self): - result = super(PrivacyConsent, self) \ + result = super() \ .message_get_suggested_recipients() reason = self._fields["partner_id"].string for one in self: