← Back to team overview

credativ team mailing list archive

[Bug 915129] [NEW] [Product] Return value of rounding() in _common exceeds factor

 

Public bug reported:

When we call _compute_qty_obj, the rounding function it calls will
return a value more than necessary, say:

rounding(0.7 * 1.0, 0.0001) will return 0.7000000000000001

that will cause an exception when doing delivery order of some goods in
UoM of weight.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  [Product] Return value of rounding() in _common  exceeds factor

Status in OpenERP Addons (modules):
  New

Bug description:
  When we call _compute_qty_obj, the rounding function it calls will
  return a value more than necessary, say:

  rounding(0.7 * 1.0, 0.0001) will return 0.7000000000000001

  that will cause an exception when doing delivery order of some goods
  in UoM of weight.

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


Follow ups

References