pdm: fix error on "Expanded view" report on Transformation

This report proably needs to be updated more, but at least use proper
getAggregatedAmountList so it no longer crash
8 jobs for display_tools_in_erp5js in 0 seconds
Status Job ID Name Coverage
  External
failed ERP5.UnitTest-Master

04:12:19

passed SlapOS.Eggs.UnitTest-Master.Python2

00:26:19

passed SlapOS.Eggs.UnitTest-Master.Python3

passed SlapOS.Eggs.UnitTest-Master.Python2

00:09:32

passed SlapOS.Eggs.UnitTest-Master.Python2

00:16:01

passed SlapOS.Eggs.UnitTest-Master.Python3

00:07:24

passed SlapOS.Eggs.UnitTest-Master.Python3

00:13:21

passed SlapOS.Eggs.UnitTest-Master.Python3