Issue 10743

Title
Task leveling error unsupported operand type(s) for +: 'int' and 'datetime.timedelta'
Priority
bug
Status
closed
Superseder
TypeError: unsupported operand type(s) for +: 'int' and 'datetime.timedelta' (issue 7799)
Nosy list
ced, delphine2776
Assigned to
Keywords

Created on 2021-09-11.20:44:07 by delphine2776, last changed 11 months ago by ced.

Messages

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-09-11.23:19:35

Duplicate issue7799.

Author: [hidden] (delphine2776)
Date: 2021-09-11.20:44:07

v6.1: project, project_plan

project - reporting> project : action task leveling , select project -> error

 File "/trytond/modules/project_plan/work.py", line 653, in transition_leveling
    self.record.create_leveling()
  File "/trytond/modules/project_plan/work.py", line 543, in create_leveling
    for sibling, delay in compute_delays(siblings):
  File "/trytond/modules/project_plan/work.py", line 524, in compute_delays
    [delay + sibling.duration,
TypeError: unsupported operand type(s) for +: 'int' and 'datetime.timedelta'

Fault: unsupported operand type(s) for +: 'int' and 'datetime.timedelta'
History
Date User Action Args
2021-09-11 23:19:45cedsetcomponent: + project_plan, - project
2021-09-11 23:19:35cedsetmessages: + msg70030
nosy: + ced
status: unread -> closed
superseder: + TypeError: unsupported operand type(s) for +: 'int' and 'datetime.timedelta'
title: project - reporting> project : action task leveling error unsupported operand type(s) for +: 'int' and 'datetime.timedelta' -> Task leveling error unsupported operand type(s) for +: 'int' and 'datetime.timedelta'
2021-09-11 20:44:07delphine2776create

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