Before this rev., there was a traceback when grouping a list view by a, e.g., many2one field, and then by a selection field. It crashed when formatting the title of the group, because the type of the grouped field was incorrectly determined (it selected the type of the inner grouping level, not the current one). For instance, it tried to format a many2one like if it was a selection.