The fact that it uses the correct template id now, fixes #6860 The read_group calculates the sum for every group for the non-stored fields as it is not possible anymore to add it in the xml, fixes #6638 The read_group simply searches for all products in the group and sums the totals of the fields for these products.