[IMP] add sum on retentions

Merged Jose Luis Zanotti requested to merge JS296 into 7.0

Merge request reports