← Back to team overview

openerp-india team mailing list archive

[Bug 1045851] Re: Rounding issues with invoices

 

** Project changed: openobject-server => openobject-addons

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

Title:
  Rounding issues with invoices

Status in OpenERP Addons (modules):
  New

Bug description:
  We're trying to integrate the invoices of the account module with
  another platform, but we've been having many problems related to the
  calculation of totals and subtotals.

  I've reproduced the problem with a very simple invoice on a clean
  database, with just the base modules + account installed. Attached is
  a screenshot, but the situation is simple: we have a product with a
  price of 5.35€ and a 50% discount, so OpenERP calculates a line
  subtotal of 2.67€.

  Unfortunately, this is not a reasonable value, since 5.35/2 is 2.675€,
  which should be - and is on the platform we're trying to integrate -
  2.68€.

  (You can check on WolframAlpha:
  http://www.wolframalpha.com/input/?i=%2850%25+of+5.35%29+rounded+to+3+significant+digits)

  While the difference seems small, the accumulation of such errors is
  enough to cause problems, especially since accounting and payments are
  involved.

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


References