Fix: [ bug #1380 ] Customer invoices are not grouped in company results report (cherry picked from commit bd061f4)

Fix: [ bug #1380 ] Customer invoices are not grouped in company results
report
(cherry picked from commit bd061f4)