Message 76776

Author
hodeinavarro
Date
2022-05-25.10:18:14
Message id
76776

Content

When using Tasks Leveling wizard on a task.

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/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 651, in transition_leveling
    selfrecordcreate_leveling()
  File "/usr/local/lib/python39/dist-packages/trytond/modules/project_plan/workpy", line 541, in create_leveling
    for sibling, delay in compute_delays(siblings):
  File "/usr/local/lib/python39/dist-packages/trytond/modules/project_plan/workpy", line 522, in compute_delays
    [delay + siblingduration,
TypeError: unsupported operand type(s) for +: 'int' and 'datetimetimedelta'
History
Date User Action Args
2022-05-25 10:18:15hodeinavarrosetmessageid: <1653466695.1318436.OZC5XAUNLUD3FJGY.issue11516@tryton.org>
2022-05-25 10:18:15hodeinavarrolinkissue11516 messages
2022-05-25 10:18:14hodeinavarrocreate

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