Copy the timesheet lines before rendering the timesheet graph to avoid wrong pie charts
This commit is contained in:
parent
58e68279cd
commit
943901f4ba
|
@ -962,7 +962,7 @@ class Project(ModelSQL, ModelView):
|
|||
)
|
||||
|
||||
timesheet_rows = sorted(
|
||||
task.timesheet_lines, key=lambda x: x.employee
|
||||
task.timesheet_lines[:], key=lambda x: x.employee
|
||||
)
|
||||
timesheet_summary = groupby(timesheet_rows, key=lambda x: x.employee)
|
||||
|
||||
|
|
Loading…
Reference in New Issue