Wizard "Fill inventory" does not respect the UoM's precision at the end of the computation

Bug #1229646 reported by Numérigraphe
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Undecided
OpenERP R&D Addons Team 2
OpenERP Community Backports (Addons)
Fix Released
Low
Lionel Sausin - Initiatives/Numérigraphe

Bug Description

In v6.0 and v7.0, when a Physical inventory is filled with the wizard, the quantity of products is computed by summing all the stock moves, but it's not rounded to the correct precision.
This can lead to tiny differences when validating the inventory.

Tags: inventory

Related branches

Changed in openobject-addons:
assignee: nobody → Numérigraphe (numerigraphe)
Changed in openobject-addons:
status: New → Fix Committed
assignee: Numérigraphe (numerigraphe) → nobody
Revision history for this message
Amit Parik (amit-parik) wrote :

Thanks for the contribution!
Our core team will review it.

Cheers!

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
Changed in ocb-addons:
assignee: nobody → Lionel Sausin - Numérigraphe (lionel-sausin)
summary: - Wizard "Fill inventory" does not respect the UoM's precision
+ Wizard "Fill inventory" does not respect the UoM's precision at the end
+ of the computation
Changed in ocb-addons:
importance: Undecided → Low
Revision history for this message
Lionel Sausin - Initiatives/Numérigraphe (ls-initiatives) wrote :

V6 and v7 are still affected. Not yet sure about v8, wait and see.

tags: added: inventory
Changed in ocb-addons:
status: New → Fix Released
Revision history for this message
Lionel Sausin - Initiatives/Numérigraphe (ls-initiatives) wrote :

The correction we pushed to OCB is not yet perfect because it still allows small rounding errors, particularly when using precision >2 and negative differences (UOM rounds with "ceil" in v7 vs "round" in v6).
A better fix is coming.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.