Skip to Content
Menu
This question has been flagged

Context : Odoo 16 / App : ln10n_fr / Addon : om_account_accountant / Docker

Accessing a bank from Accounting dash board causes this error :

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1584, 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 1611, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1815, 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 697, in route_wrapper
    result = endpoint(self, *args, **params_ok)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 46, in call_button
    action = 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 461, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 448, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/account/models/account_journal_dashboard.py", line 693, in open_action
    action['domain'] = (action['domain'] or []) + [('journal_id', '=', self.id)]
TypeError: can only concatenate str (not "list") to str

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
    at makeErrorFromResponse (http://192.168.33.195:35623/web/assets/114-22fa41d/web.assets_backend.min.js:985:163)
    at XMLHttpRequest. (http://192.168.33.195:35623/web/assets/114-22fa41d/web.assets_backend.min.js:993:13)


To complete my request, I would have liked to add copies of the screens (Dashboard and Bank Journal) but my Karma isn't enough! 

Avatar
Discard
Author

Hi,

Thanks for the quick response. Super efficient! Even on a Sunday.

I'm using the latest version published for docker (Noted: update to release 20230720 ). Can you tell me when a new version that fixes this problem will be released for Docker? Modifying an image in a container is complicated. Perhaps you can suggest another approach to benefit from the latest version?


Thanks

Best Answer

Hi,

This is a bug get added by a recent commit and it  has been fixed in the core, please update the odoo source code to its latest.

Thanks

Avatar
Discard

Hello Raphy, do you know how to fix it without upgrade ? Because sometimes with upgrading it brakes more things than fixing them. Thanks

Author Best Answer

Hi,

Thanks for the quick response. Super efficient! Even on a Sunday.

I'm using the latest version published for docker (Noted: update to release 20230720 ). Can you tell me when a new version that fixes this problem will be released for Docker? Modifying an image in a container is complicated. Perhaps you can suggest another approach to benefit from the latest version?


Thanks


Avatar
Discard
Related Posts Replies Views Activity
2
Feb 24
3446
2
May 23
4428
0
Sep 17
4483
1
Jul 25
1584
1
Jul 25
1585