← Back to team overview

openerp-expert-accounting team mailing list archive

[Bug 707923] Re: [5 - 6.0 - 6.1] invoice tax - rounding issues and computation method

 

Also on stock precision calculations:
This issue is not only evident on invoicing, but is also previlant on stock with unit of meausure's (UOM) precision more than 2 decimal places.
eg. weight, running meters.
Anything that has more than 1 or 2 precision level. (eg. stock quantities, cost price,sales price, pricelists) needs to be standardized throughout openerp.
We have come across several examples where packing lists cannot be validated because of simple float comparisons not working.

-- 
You received this bug notification because you are a member of OpenERP
Accounting Experts, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/707923

Title:
  [5 - 6.0 - 6.1] invoice tax - rounding issues and computation method

Status in OpenERP Addons (modules):
  Won't Fix

Bug description:
  see attachment

  due to rounding of the calculated tax for each position we get totals
  which are wrong.

  In Austria we usually group the basis per tax rate and calculate the
  tax from this basis to avoid such errors.

  in account/invoice.py
  class account_invoice_tax  - 
  def compute must be modified 

  actually only some lines of code to group the invoice lines before
  calculating the tax

  probably this has been discussed (but not solved) already

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