new way of grouping pos.orders while exporting

Merged Santiago Said requested to merge NewWayOfGroupingPosWhileExporting into 8.0-stage

Merge request reports