Tryton - Issues

 

Message44480

Author zinsky
Recipients
Date 2018-10-19.13:45:07
Content
Error occure when running Tasks Leveling wizard

Traceback (most recent call last):
  File "/trytond/wsgi.py", line 71, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/dispatcher.py", line 41, in rpc
    request, database_name, *request.rpc_params)
  File "/trytond/wsgi.py", line 42, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/wrappers.py", line 122, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/dispatcher.py", line 167, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/wizard/wizard.py", line 287, in execute
    return wizard._execute(state_name)
  File "/trytond/wizard/wizard.py", line 318, in _execute
    result = self._execute(transition())
  File "/trytond/modules/project_plan/work.py", line 650, in transition_leveling
    Work(Transaction().context['active_id']).create_leveling()
  File "/trytond/modules/project_plan/work.py", line 539, in create_leveling
    for sibling, delay in compute_delays(siblings):
  File "/trytond/modules/project_plan/work.py", line 520, in compute_delays
    [delay + sibling.duration,
TypeError: unsupported operand type(s) for +: 'int' and 'datetime.timedelta'
History
Date User Action Args
2018-10-19 13:45:08zinskysetmessageid: <1539949508.46.0.608567886753.issue7799@tryton.org>
2018-10-19 13:45:08zinskylinkissue7799 messages
2018-10-19 13:45:07zinskycreate

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