Browse Source

fixup! [ADD] privacy_consent: Privacy explicit consent tracking tools

pull/11/head
Jairo Llopis 6 years ago
parent
commit
632fcdaf8f
  1. 1
      privacy_consent/controllers/main.py

1
privacy_consent/controllers/main.py

@ -18,7 +18,6 @@ class ConsentController(Controller):
def consent(self, choice, consent_id, token, *args, **kwargs):
"""Process user's consent acceptance or rejection."""
ensure_db()
request.httprequest.environ
consent = request.env["privacy.consent"] \
.with_context(subject_answering=True) \
.sudo().browse(consent_id)

Loading…
Cancel
Save