Undetected access error on Sale report per Region
Following https://discuss.tryton.org/t/fault-undetected-access-error-on-sales-report-by-region/8110/9
I have not reproduced this crash on new database, or on demo. On my production database it happens when opening the sale report for the region in which my company address is in.
To check: Possibly because this is the country with subdivisions loaded.
Traceback (most recent call last):
File "/trytond/wsgi.py", line 96, in dispatch_request
return endpoint(request, **request.view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/trytond/protocols/dispatcher.py", line 44, in rpc
return methods.get(request.rpc_method, _dispatch)(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/trytond/wsgi.py", line 76, in wrapper
return func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/trytond/protocols/wrappers.py", line 206, in wrapper
result = func(request, pool, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/trytond/protocols/dispatcher.py", line 216, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/trytond/model/modelsql.py", line 1161, in read
raise RuntimeError("Undetected access error")
RuntimeError: Undetected access error
Fault: Undetected access error