Le 19/05/2013 12:40, Marcos García a écrit :
> Hi,
>
> An user in dolibarr.es <http://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?

There was a bug (in fact several), and there was a problem of translation.
Expected behaviour is filter on user that created invoices.
I fixed in 3.4 beta branch

>
> Thanks,
>  
>
>     *Marcos García*
>
>     [email protected] <mailto:[email protected]>
>
>
>
> _______________________________________________
> Dolibarr-dev mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


-- 
Eldy (Laurent Destailleur).

EMail: [email protected]
Web: http://www.destailleur.fr

Dolibarr (Project leader): http://www.dolibarr.org
To make a donation for Dolibarr project via Paypal: [email protected]
AWStats (Author) : http://awstats.sourceforge.net
To make a donation for AWStats project via Paypal: [email protected]
AWBot (Author) : http://awbot.sourceforge.net
CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net

_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à