Use defaultdict to compute cost and revenue total of project
Since e35820296f3a, sum_tree is use to compute project total but it requires to have a default value for parents that are not in the list of instances.
Closes #12305 (closed)
Since e35820296f3a, sum_tree is use to compute project total but it requires to have a default value for parents that are not in the list of instances.
Closes #12305 (closed)