You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a storage backend with any protocol, you get an error.
To Reproduce
Affected versions: 16.0
Steps to reproduce the behavior:
go to the storage backend list
add a new one
select any protocol (in our case, s3, but we couldn't get the same error with others)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 2071, in __call__
response = request._serve_db()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1658, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 133, in retrying
result = func()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1686, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1890, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 734, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 42, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 466, in call_kw
result = _call_kw_model_create(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 444, in _call_kw_model_create
result = method(recs, *args, **kwargs)
File "<decorator-gen-66>", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 414, in _model_create_multi
return create(self, [arg])
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_fields.py", line 670, in create
recs = super().create(vals_list)
File "<decorator-gen-15>", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 415, in _model_create_multi
return create(self, arg)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 4033, in create
next(iter(fields)).determine_inverse(batch_recs)
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1401, in determine_inverse
determine(self.inverse, records)
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 97, in determine
if needle.__name__.find('__'):
AttributeError: 'functools.partial' object has no attribute '__name__'
Expected behavior
It works
Additional context
I can see this bug open on odoo itself odoo/odoo#117559
Does that mean that fs_storage hasn't worked since 2023? I'm really confused. The setup documentation is very sparse (as can be seen by the "How does this works" issues in the repo).
The text was updated successfully, but these errors were encountered:
Module
fs_storage
Describe the bug
When adding a storage backend with any protocol, you get an error.
To Reproduce
Affected versions: 16.0
Steps to reproduce the behavior:
Expected behavior
It works
Additional context
I can see this bug open on odoo itself odoo/odoo#117559
Does that mean that fs_storage hasn't worked since 2023? I'm really confused. The setup documentation is very sparse (as can be seen by the "How does this works" issues in the repo).
The text was updated successfully, but these errors were encountered: