Opening inventories raises an error
When you open Inventories
from the Inventory & Stock
menu, an error is raised:
Traceback (most recent call last):
File "/usr/local/lib/python39/dist-packages/trytond/wsgipy", line 119, in dispatch_request
return endpoint(request, **requestview_args)
File "/usr/local/lib/python39/dist-packages/trytond/protocols/dispatcherpy", line 46, in rpc
return methodsget(requestrpc_method, _dispatch)(
File "/usr/local/lib/python39/dist-packages/trytond/wsgipy", line 86, in auth_required
return wrapped(*args, **kwargs)
File "/usr/local/lib/python39/dist-packages/trytond/protocols/wrapperspy", line 161, in wrapper
return func(request, pool, *args, **kwargs)
File "/usr/local/lib/python39/dist-packages/trytond/protocols/dispatcherpy", line 181, in _dispatch
result = rpcresult(meth(*c_args, **c_kwargs))
File "/usr/local/lib/python39/dist-packages/trytond/model/modelstoragepy", line 551, in search_count
res = clssearch(
File "/usr/local/lib/python39/dist-packages/trytond/model/modelsqlpy", line 1493, in search
if (limit is not None and limit < clscount()) or offset:
File "/usr/local/lib/python39/dist-packages/trytond/model/modelviewpy", line 721, in wrapper
value = func(*args, **kwargs)
TypeError: wrapper() missing 1 required positional argument: 'records'
This is fully reproducible on the demo6.4.tryton.org