KeyError when opening the dashboard
In my vanilla Tryton installation, everytime I click on Dashboard menu, some errors appear:
11866 139866299942592 [2023-01-21 05:51:08,950] ERROR trytond.protocols.wrappers <JSONRequest 1@127.0.0.1 ‘http://localhost:8000/trytondb/’ [POST] model.ir.action.keyword.get_keyword>
Traceback (most recent call last):
File “/home/bpdp/kerjaan/git-repos/oldstager/current/github/zimera-systems/zimera-erp/tryton-suite/trytond/protocols/wrappers.py”, line 162, in wrapper return func(request, pool, *args, **kwargs)
File “/home/bpdp/kerjaan/git-repos/oldstager/current/github/zimera-systems/zimera-erp/tryton-suite/trytond/protocols/dispatcher.py”, line 207, in _dispatch result = rpc.result(meth(*c_args, **c_kwargs))
File “/home/bpdp/kerjaan/git-repos/oldstager/current/github/zimera-systems/zimera-erp/tryton-suite/trytond/ir/action.py”, line 278, in get_keyword and not ModelAccess.check(
File “/home/bpdp/kerjaan/git-repos/oldstager/current/github/zimera-systems/zimera-erp/tryton-suite/trytond/ir/model.py”, line 614, in check Model = pool.get(model_name)
File “/home/bpdp/kerjaan/git-repos/oldstager/current/github/zimera-systems/zimera-erp/tryton-suite/trytond/pool.py”, line 188, in get return self._pool[self.database_name][type][name]
KeyError: ‘’
Web and GUI version have the same errors. I’ve tried to configure Dashbord using “Usage: dashboard” in a module that I want to display and have it configured on Users - Dashboard but the errors still persist.
The errors also happened in vanilla Tryton installation.
- Python: 3.10.8
- Trytond: 6.6.3
- trytond_dashboard: 6.6.0
- PostgreSQL: 14.6
- tryton_sao: 6.6.3
- Linux kernel: 5.18.0
Edited by Cédric Krier