Crash on Tasks Leveling wizard
I just activated on the demo the module project_plan
and when going to a running project work and click on the wizard button Tasks Leveling
crashes in the following traceback:
Traceback (most recent call last):
File "/usr/local/lib/python39/dist-packages/trytond/wsgipy", line 117, 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 84, in auth_required
return wrapped(*args, **kwargs)
File "/usr/local/lib/python39/dist-packages/trytond/protocols/wrapperspy", line 159, in wrapper
return func(request, pool, *args, **kwargs)
File "/usr/local/lib/python39/dist-packages/trytond/protocols/dispatcherpy", line 180, in _dispatch
result = rpcresult(meth(*c_args, **c_kwargs))
File "/usr/local/lib/python39/dist-packages/trytond/wizard/wizardpy", line 314, in execute
return wizard_execute(state_name)
File "/usr/local/lib/python39/dist-packages/trytond/wizard/wizardpy", line 345, in _execute
result = self_execute(transition())
File "/usr/local/lib/python39/dist-packages/trytond/modules/project_plan/workpy", line 653, in transition_leveling
selfrecordcreate_leveling()
File "/usr/local/lib/python39/dist-packages/trytond/modules/project_plan/workpy", line 543, in create_leveling
for sibling, delay in compute_delays(siblings):
File "/usr/local/lib/python39/dist-packages/trytond/modules/project_plan/workpy", line 524, in compute_delays
[delay + siblingduration,
TypeError: unsupported operand type(s) for +: 'int' and 'datetimetimedelta'