← Back to team overview

openerp-india team mailing list archive

[Bug 1092497] Re: Unit of measure ratio incorrect on save

 

This rounding issue existed in 6.1 also.  (I tested with bigger and 6.1
as ratio).  Of course, you should already have something like a large
conversion factor and a large quantity on the invoice and a small
precision for it to have effect.

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

Title:
  Unit of measure ratio incorrect on save

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  As in bug lp:931363 the ratio of new Units of measure gets messed up
  by floating point maths.

  See attached video.

  I am attempting to create a new UoM in the Length category of 6.1m
  (the reference UoM is 1m).

  However, when I save the UoM ration as 6.1 it gets changed to
  6.09999982! This is not correct.

  This on yesterday's trunk.

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


References