Browse Source

[FIX] missing super declaration

12.0-mig-module_prototyper_last
Enric Tobella 7 years ago
committed by Jaime Arroyo
parent
commit
a035e26a49
  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 @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):

Loading…
Cancel
Save