On 06/10/10 17:24 +0200, Korbinian Preisler wrote: > Am Mittwoch, den 06.10.2010, 17:11 +0200 schrieb Cédric Krier: > > On 06/10/10 17:00 +0200, Korbinian Preisler wrote: > > > Hi, > > > > > > We have cases where tax-free sales need to be declared on tax > > > declaration. Therefor we need to define a tax with a tax value of 0. > > > > > > When such a tax is used on an invoice move lines of value 0 are > > > produced. > > > > > > Is there a reason for this? If not it would be great to change the > > > behavior in a way that move lines of value 0 are not created. If you > > > agree i will write a patch for that. > > > > Tax line must be linked to an account move line. > > So to what do you want to link it? > > > If the value of a move line is 0 no tax line is necessary too. > > Only the base amount move line and the base amount tax line needs to be > created. The move line for the tax amount is not needed as its value is > 0. If a move line has a value of 0 the tax line will have a value of 0 > too. I think that such lines with no effect should be avoided.
Ok I did not understand that the tax line got also 0 value. So I agree that can be improved. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpWd4UxvcoaL.pgp
Description: PGP signature
