|
@ -130,12 +130,12 @@ class PrivacyConsent(models.Model): |
|
|
|
|
|
|
|
|
def write(self, vals): |
|
|
def write(self, vals): |
|
|
"""Run server action on update.""" |
|
|
"""Run server action on update.""" |
|
|
result = super(PrivacyConsent, self).write(vals) |
|
|
|
|
|
|
|
|
result = super().write(vals) |
|
|
self._run_action() |
|
|
self._run_action() |
|
|
return result |
|
|
return result |
|
|
|
|
|
|
|
|
def message_get_suggested_recipients(self): |
|
|
def message_get_suggested_recipients(self): |
|
|
result = super(PrivacyConsent, self) \ |
|
|
|
|
|
|
|
|
result = super() \ |
|
|
.message_get_suggested_recipients() |
|
|
.message_get_suggested_recipients() |
|
|
reason = self._fields["partner_id"].string |
|
|
reason = self._fields["partner_id"].string |
|
|
for one in self: |
|
|
for one in self: |
|
|