Consolidate accounting move lines

I see an option for « consolidate move lines » in journal configurations.

My understanding of this option is this:

In a sales invoice if I have 5 products with the same accounting accounts these 5 product sales amounts will be totalled and shown as one line in move-lines. But I don’t see this working (I see 5 different move lines for the same account).

Is there any other setting I need to do for this to work?