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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
base_remote/models/res_users.py
|
@ -15,6 +15,7 @@ class ResUsers(models.Model): |
|
|
@api.model_cr |
|
|
@api.model_cr |
|
|
def _register_hook(self): |
|
|
def _register_hook(self): |
|
|
"""🐒-patch XML-RPC controller to know remote address.""" |
|
|
"""🐒-patch XML-RPC controller to know remote address.""" |
|
|
|
|
|
super()._register_hook() |
|
|
original_fn = wsgi_server.application_unproxied |
|
|
original_fn = wsgi_server.application_unproxied |
|
|
|
|
|
|
|
|
def _patch(environ, start_response): |
|
|
def _patch(environ, start_response): |
|
|