Hi,
Odoo connector not work for me
I installed onlyoffice documentserver latest release 7.4 on ubuntu 20.04. ( with NGINX and HTTPS Mode with letsencrypt SSL certificate) It works correctly with Owncloud, but tested with odoo16 community it keeps giving an error: “download failed”. Also with odoo16 enterprise (on premise) after service restart I get error 500 when try to open a Odoo file:
Traceback (most recent call last):
File “/opt/odooetp/odoo-server/odoo/http.py”, line 1579, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File “/opt/odooetp/odoo-server/odoo/service/model.py”, line 134, in retrying
result = func()
File “/opt/odooetp/odoo-server/odoo/http.py”, line 1608, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File “/opt/odooetp/odoo-server/odoo/http.py”, line 1721, in dispatch
return self.request.registry[‘ir.http’]._dispatch(endpoint)
File “/opt/odooetp/odoo-server/addons/website/models/ir_http.py”, line 235, in _dispatch
response = super()._dispatch(endpoint)
File “/opt/odooetp/odoo-server/odoo/addons/base/models/ir_http.py”, line 144, in _dispatch
result = endpoint(**request.params)
File “/opt/odooetp/odoo-server/odoo/http.py”, line 698, in route_wrapper
result = endpoint(self, *args, **params_ok)
File “/opt/odooetp/custom-addons/onlyoffice_odoo/controllers/controllers.py”, line 87, in render_editor
return request.render(“onlyoffice_odoo.onlyoffice_editor”, self.prepare_editor_values(attachment, access_token))
File “/opt/odooetp/custom-addons/onlyoffice_odoo/controllers/controllers.py”, line 150, in prepare_editor_values
path_part = str(data[“id”]) + “?oo_security_token=” + security_token + ("&access_token=" + access_token if access_token else “”)
TypeError: can only concatenate str (not “bytes”) to str