reconcile error with statement
With tip, I got the following backtrace when I reconcile (via button) a validated statement:
Traceback (most recent call last):
File "/trytond/wsgi.py", line 109, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 47, in rpc
return methods.get(request.rpc_method, _dispatch)(
File "/trytond/wsgi.py", line 77, in auth_required
return wrapped(*args, **kwargs)
File "/trytond/protocols/wrappers.py", line 131, 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/wizard/wizard.py", line 306, in execute
cls.check_access()
File "/trytond/wizard/wizard.py", line 268, in check_access
Model.read(ids, ['id'])
File "/trytond/model/modelsql.py", line 752, in read
red_sql = reduce_ids(table.id, sub_ids)
File "/trytond/tools/misc.py", line 102, in reduce_ids
ids = list(map(int, ids))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Fault: int() argument must be a string, a bytes-like object or a number, not 'NoneType'