Message 76504

Author
edbo
Date
2022-05-06.14:49:29
Message id
76504

Content

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

History
Date User Action Args
2022-05-06 14:49:29edbosetmessageid: <1651841369.8197348.SVGDKFDKSKUU7GG6.issue11466@tryton.org>
2022-05-06 14:49:29edbolinkissue11466 messages
2022-05-06 14:49:29edbocreate

Showing 10 items. Show all history (warning: this could be VERY long)