Browse Source

[FIX] missing super declaration

pull/1293/head
Enric Tobella 7 years ago
parent
commit
3cf905989c
No known key found for this signature in database GPG Key ID: 1A2546A1B7BA2451
  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