FIX: sales resport gives incorrect figures caused by group by p_name (it changes)