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. -- Korbinian Preisler ____________________________________ virtual things Preisler & Spallek GbR Munich - Aix-la-Chapelle Windeckstr. 77 81375 Munich - Germany Tel: +49 (89) 710 481 55 Fax: +49 (89) 710 481 56 [email protected] http://www.virtual-things.biz -- [email protected] mailing list
