Browse Source
!squash [MIG] privacy_consent: Migrate to v12
Co-Authored-By: Alexandre Díaz <alexandre.diaz@tecnativa.com>
pull/50/head
Jairo Llopis
5 years ago
committed by
Jairo Llopis
No known key found for this signature in database
GPG Key ID: 8B8A6900E4831A9B
1 changed files with
2 additions and
2 deletions
-
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: |
|
|
|