After update to 6.6, when calling the “supply stock” wizard this error message occurs:
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 49, 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 162, in wrapper
return func(request, pool, *args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 207, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/wizard/wizard.py", line 328, in execute
return wizard._execute(state_name)
File "/trytond/wizard/wizard.py", line 361, in _execute
result = self._execute(transition())
File "/trytond/modules/stock_supply/stock.py", line 72, in transition_create_
created |= bool(getattr(self, 'generate_%s' % type_)(first))
File "/trytond/modules/stock_supply/stock.py", line 116, in generate_purchase
PurchaseRequest.generate_requests(**self._purchase_parameters)
File "/trytond/modules/stock_supply/purchase_request.py", line 114, in generate_requests
shortages = cls.get_shortage(
File "/trytond/modules/stock_supply/purchase_request.py", line 321, in get_shortage
pbl = Product.products_by_location(
File "/trytond/modules/stock/product.py", line 283, in products_by_location
quantities = Move.compute_quantities(query, location_ids, with_childs,
File "/trytond/modules/stock/move.py", line 1573, in compute_quantities
key[i] = datetime.date.fromisoformat(key[i])
TypeError: fromisoformat: argument must be str
Fault: fromisoformat: argument must be str
What should I do?
Cheers,
Wolf