Comment 10 for bug 591662

Revision history for this message
Eduard Carreras i Nadal (ecarreras) wrote : Re: [Bug 591662] Re: base of account.invoice.tax is different from amount_untaxed of account.invoice

Agree with Claude Brulé

On Thu, Jun 24, 2010 at 8:01 PM, Claude Brulé - http://www.Syleam.fr/ <
<email address hidden>> wrote:

> Please be carefull on the fact you can have severals taxes on the same
> product/sale.order.line.
>
> For example, you can have VAT + WEEE (ecotax).
>
> Use this also for checking non regression ;-)
> Even with tax included in price, and so on
>
> May be subtotal of line should be rounded according to number of decimal
> in accouting, because it will be record in account.move.line.
>
> --
> base of account.invoice.tax is different from amount_untaxed of
> account.invoice
> https://bugs.launchpad.net/bugs/591662
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in OpenObject Addons Modules: Confirmed
>
> Bug description:
> I'm using version 5.0.11.
>
> Steps to reproduce the issue:
>
> I've tested this with Spanish and Belgian chart of accounts
>
> 1. Have a database with price_accuracy = 6
> 2. The currency is EURO with round = 0.01
> 3. Create a new invoice (client or provider, it doesn't matter)
> 4. Introduce a line with quantity = 254 price = 0.057035 and choose any
> non-zero tax from the drop-down.
> For example: for Belgium Chart of Accounts I've set "x VAT" and for Spanish
> Chart of Accounts I've set "IVA Soportado 16% (Operaciones corrientes)". It
> doesn't matter which tax you choose, provided you choose one, so the invoice
> view will show the base used for tax calculation differs from the invoice
> base
> 5. Click on the button to calculate the taxes.
>
> The value of base from invoice is different from base of tax.
>
> Workaround and ideas:
> * The subtotal of each invoce's line is rounded to currency precission (in
> this case 0.01, two decimals). When calculating the base for taxes the base
> isn't being rounded.
> * Why the subtotal is recalculated to get the base for tax when we have a
> subtotal calculated field?
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openobject-addons/+bug/591662/+subscribe
>

--
Eduard Carreras i Nadal <email address hidden>
http://ecarreras.blogspot.com
http://ecarreras-tec.blogspot.com