Issue 11551

Title
error on inventory
Priority
bug
Status
closed
Superseder
Opening inventories raises an error (issue 11466)
Nosy list
MR, ced
Assigned to
Keywords

Created on 2022-06-05.19:51:46 by MR, last changed 5 months ago by ced.

Messages

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-06-05.21:01:05

Duplicate issue11466.

Author: [hidden] (MR) Tryton translator
Date: 2022-06-05.19:51:45

When opening inventories list (click on Inventory&stock - Inventories) I get the next error:

Traceback (most recent call last):
File "/trytond/wsgi.py", line 119, in dispatch_request
return endpoint(request, request.view_args)
File "/trytond/protocols/dispatcher.py", line 46, in rpc
return methods.get(request.rpc_method, _dispatch)(
File "/trytond/wsgi.py", line 86, in auth_required
return wrapped(*args,
kwargs)
File "/trytond/protocols/wrappers.py", line 161, in wrapper
return func(request, pool, args, kwargs)
File "/trytond/protocols/dispatcher.py", line 181, in _dispatch
result = rpc.result(meth(
c_args, c_kwargs))
File "/trytond/model/modelstorage.py", line 551, in search_count
res = cls.search(
File "/trytond/model/modelsql.py", line 1493, in search
if (limit is not None and limit < cls.count()) or offset:
File "/trytond/model/modelview.py", line 721, in wrapper
value = func(*args,
kwargs)
TypeError: Inventory.count() missing 1 required positional argument: 'records'

Fault: Inventory.count() missing 1 required positional argument: 'records'

History
Date User Action Args
2022-06-05 21:01:05cedsetmessages: + msg76966
nosy: + ced
status: unread -> closed
superseder: + Opening inventories raises an error
2022-06-05 19:51:46MRcreate