Undetected access error

Hi,

Without any code changes in a report, I get this error :

2024-10-15 09:55:05 Traceback (most recent call last):
2024-10-15 09:55:05   File "/usr/local/lib/python3.9/dist-packages/trytond/protocols/dispatcher.py", line 204, in _dispatch
2024-10-15 09:55:05     result = rpc.result(meth(*c_args, **c_kwargs))
2024-10-15 09:55:05   File "/usr/local/lib/python3.9/dist-packages/trytond/model/modelsql.py", line 1059, in read
2024-10-15 09:55:05     raise RuntimeError("Undetected access error")
2024-10-15 09:55:05 RuntimeError: Undetected access error
2024-10-15 09:55:05 [Tue Oct 15 07:55:05 2024] ERROR:trytond.protocols.wrappers:<JSONRequest 1@172.18.0.1 'http://localhost:8000/tradon/' [POST] model.trade.fee.report.read>
2024-10-15 09:55:05 Traceback (most recent call last):
2024-10-15 09:55:05   File "/usr/local/lib/python3.9/dist-packages/trytond/protocols/wrappers.py", line 197, in wrapper
2024-10-15 09:55:05     return func(request, pool, *args, **kwargs)
2024-10-15 09:55:05   File "/usr/local/lib/python3.9/dist-packages/trytond/protocols/dispatcher.py", line 204, in _dispatch
2024-10-15 09:55:05     result = rpc.result(meth(*c_args, **c_kwargs))
2024-10-15 09:55:05   File "/usr/local/lib/python3.9/dist-packages/trytond/model/modelsql.py", line 1059, in read
2024-10-15 09:55:05     raise RuntimeError("Undetected access error")
2024-10-15 09:55:05 RuntimeError: Undetected access error

and a lot of #ERROR in the list view but not linked to a record in particular.
If I filter little part of the report by filtering in the context, I have no error…

Any ideas ?
Tks
Laurent

The query of the report is an Union of 2 queries, if I execute the report with the 2 queries separatly, it works. Changing all_ parameter to False or True has no impact.

This is typical of table query that does not generate unique id.

oh yes field “id” sorry
Thanks a lot Cédric it’s work !

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.