Thanks Eldy, i will take a look at this ;-)

Best regards

Christophe


Le 15/11/2019 à 21:49, Laurent Destailleur (aka Eldy) a écrit :
It seems you are speaking on a hidden option MAIN_INCLUDE_ZERO_VAT_IN_REPORTS. Note that, like most hidden option, this feature may not be implemented everywhere.

After analysis of the goal of this option, it seems it should have no impact on the amount of VAT.  It just hide or not lines with VAT = 0. So total of VAT and lines with VAT should be the same whatever is this value of this option. Because the page report by vat rate goal is to show the amount of vat, we may not need to show the amount of vat when vat is zero but this may be interesting to see all for others. Best thing is to avoid to have to choice by a hidden option and instead have a "visible" filter criteria.

An idea for developer volunteers : A good implementation to have this option finished (so removed by becoming an official feature) may be to add checkbox "Hide lines with no VAT" in the filter banner. So we can use the dynamic choice of user to present or not the lines with no need of hidden option.


Le ven. 15 nov. 2019 à 15:53, Agnès Rambaud <[email protected] <mailto:[email protected]>> a écrit :

    Bonjour,

    Heureusement que je traîne de temps en temps sur les forums. Je
    viens de
    découvrir la constante MAIN_INCLUDE_ZERO_VAT_IN_REPORTS, qu'il faut
    mettre à 1 pour voir apparaître dans les rapports de TVA par taux les
    factures avec de la tva à 0%.

    C'est depuis quand cette constante à la noix ????

    Donc merci, je me retrouve avec des déclarations de TVA fausses
    depuis
    que je suis passée à la v10. Même pas une config quelque part - en
    tout
    cas pas dans la config de la compta simplifiée.

    C'est dangereux un truc pareil !

    Il faudrait que cette constante soit inversée : la mettre à 1 si
    on ne
    *veut pas* voir les factures avec la tva à 0 dans les rapports, et
    pas
    l'inverse !

    C'est n'importe quoi là !!

-- Agnès Rambaud
    Accompagnement projets informatiques
    Gérante Associée
    06 27 14 51 31

    Altairis
    Expert Dolibarr depuis 2006
    Les Bruns
    38190 Les Adrets
    [email protected] <mailto:[email protected]>
    http://www.altairis.fr
    Nouveau numéro : 06 98 45 39 09 / +33 698 453 909


    _______________________________________________
    Dolibarr-user mailing list
    [email protected] <mailto:[email protected]>
    https://lists.nongnu.org/mailman/listinfo/dolibarr-user



--
EMail: [email protected] <mailto:[email protected]>
Web: https://www.destailleur.fr
Twitter: http://www.twitter.com/eldy10
------------------------------------------------------------------------------------
* Dolibarr (Project leader): https://www.dolibarr.org (make a donation for Dolibarr project via Paypal: [email protected] <mailto:[email protected]>) * AWStats (Author) : http://awstats.sourceforge.net (make a donation for AWStats project via Paypal: [email protected] <mailto:[email protected]>)
* AWBot (Author) : http://awbot.sourceforge.net
* CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net


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

--
--------------------------------
Christophe Battarel
Responsable technique associé
Altairis
06 98 45 39 09 / +33 698 453 909

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

Répondre à