← Back to team overview

openerp-india team mailing list archive

[Bug 994445] Re: tax base rounding issue

 

Hello,

I have checked this issue .It's  good improvement.

Let me explain

Suppose my qty =4.25 and unit price =5.60  .Now with current behavior it will take subtotal =24 and base=26 .
As per current code it will take values like below.

First it will round the value of price unit 6(rounding of 5.60) then it
will multiply by qty ,So the value is (4.25*6=26(After float rounding).

After the fix the correct values is 5.6*4.25 = 23.8 and After the
rounding takes the base amount 24 which is same as a Subtotal

Thanks!!

-- 
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/994445

Title:
  tax base rounding issue

Status in OpenERP Addons (modules):
  New

Bug description:
  the tax base (price_unit * qty ) must be rounded not the price_unit
  itself

  currently there are differences between line subtotal and tax base
  especially if Account precision and currency precision are different

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


References