commit
60e1e8b92a
|
@ -13,6 +13,6 @@ class Base(models.AbstractModel):
|
|||
def remote(self):
|
||||
try:
|
||||
remote_addr = http.request.httprequest.remote_addr
|
||||
except (KeyError, AttributeError):
|
||||
except (KeyError, AttributeError, RuntimeError):
|
||||
return self.env["res.remote"]
|
||||
return self.env["res.remote"]._get_remote(remote_addr)
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
cryptography==3.4.8; python_version < '3.12' # incompatibility between pyopenssl 19.0.0 and cryptography>=37.0.0
|
||||
cryptography==42.0.8 ; python_version >= '3.12' # (Noble) min 41.0.7, pinning 42.0.8 for security fixes
|
||||
odoo_test_helper
|
||||
mock
|
||||
|
|
Loading…
Reference in New Issue