Browse Source

Merge pull request #1293 from etobella/11.0-add-remote_base

[FIX] missing super declaration
pull/1296/merge
Pedro M. Baeza 7 years ago
committed by GitHub
parent
commit
3e6480ed24
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      base_remote/models/res_users.py

1
base_remote/models/res_users.py

@ -15,6 +15,7 @@ class ResUsers(models.Model):
@api.model_cr
def _register_hook(self):
"""🐒-patch XML-RPC controller to know remote address."""
super()._register_hook()
original_fn = wsgi_server.application_unproxied
def _patch(environ, start_response):

Loading…
Cancel
Save