Hi,
An user in
dolibarr.es forum is reporting
a problem that he is having with the statistics page of
Invoice module.
He is trying to get the number of invoices and total
invoiced in a specific year. He noticed that Dolibarr has this
function and tries to use it, but nothing happens when he
changes the user he is filtering by (the amount stays at 0).
Reading the code (compta/facture/stats/index.php),
it seems that Dolibarr is just filtering by invoice authors
and not by commercial contact. So, there are 2 possible
solutions for this problem:
1. Translation bug. Should only appear "User" in
the filter options and not "User/Commercial"
2. Bug. Dolibarr should also filter by commercial
contact assigned to each invoice.
What is the expected behaviour?