← Back to team overview

openerp-india team mailing list archive

[Bug 1076115] Re: incorrect tax computation in account.tax

 

Lets say we have amount 0.13 in foreign currency and openerp will convert that to 0.16 to base currency.
VAT 20% of that sum is 0.026... this will be rounded up to 0.03 (this is pretty mean error because 0.004 of that sum is a lot: 13,3% error)... now it will be converted to base currency (at given day it is: 1.252661907) 0.03 * 1.252661907 = 0.037579857... so it will be rounded up again to: 0.04

I think that other currency should be converted to base currency and
take taxes of it.


Lets say that 0.13 * 1.252661907 = 0.16284604791.. rounded down to 0.16
and then if we take 20% tax of it 0.16 * 0.2 = 0.032... rounded down to 0.03


so i got a serious error with a 0.13 gbp invoice if converted to eur :S
Simply in tax declaration i should enter base sum and it will calculate vat from it... those two numbers will be different!

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1076115

Title:
  incorrect tax computation in account.tax

Status in OpenERP Addons (modules):
  New

Bug description:
  I have a base sum 61.47 and i need 20% of it... it should be 12.294 - rounding to 12.29
  But openerp will round it to 12.3

  I have checked all things i can think of... even the currency rounding
  is 0.01

  
  OpenERP 6.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1076115/+subscriptions


References