Context: I sell in Romania using company currency RON, and in Europe in EUR.
Using trytond / trytond_sale / tryton all 7.4.1 updated with pip.
While attempting to use Sale Reports under Sales / Reporting and then Sales by Region:
While browsing the regions I see exaggerated sales figures in EUR, and it appears to be a factor of the exchange rate.
It seems to me that the sales sum reported is in local currency, but with the sale currency symbol (EUR).
When I double click on the region I can see a tree of countries/regions where sales happened.
When I double click on the region where the company is, I get the following traceback:
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
I have not been able to reproduce on demo, or on a fresh database.
This is the reason I have not filed a bug report.
I have read this: Undetected access error
Possible issues with my database: I have deactivated sale opportunity. Otherwise I don’t have custom sales modules.