Commit 1c1ec0bc authored by Jérome Perrin's avatar Jérome Perrin

core/mrp: make sure getAggregatedAmountList return amounts in order

For some reports displaying transformations result to end users, it's much
better to have amount ordered in the same order as the model lines.

AmountGeneratorMixin was already sorting the lines, but the order was lost
during aggregation, because we used a dict, which on python2 does not
retain order. Switch to using an OrderedDict to keep the order.
parent dade8d98
Pipeline #16734 failed with stage
in 0 seconds