Unedited products are shown on posted inventory tab

Bug #1184192 reported by Kinner Vachhani on 2013-05-25
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Undecided
Unassigned
OpenERP Community Backports (Addons)
Status tracked in 7.0
7.0
Medium
Unassigned

Bug Description

When user changes the quantity in inventory General information tab and confirm inventory, posted tab in physical inventory shows products with quantity 0 which were not edited.

This problem occurs due to difference in quantity calculated by openerp. E.g location_obj._product_get(cr, uid, line.location_id.id, [pid], product_context)[pid] gives value 3.0500000000000003 while the move lines have value 3.05. The difference of those quantity is -4.440892098500626e-16 which is next to zero but nonzero value.

Hence it consider product as changed quantity and post it in posted inventory.

description: updated
description: updated
Changed in openobject-addons:
status: New → In Progress
assignee: nobody → Kinner Vachhani (kinner-vachhani)
status: In Progress → Fix Committed
Changed in openobject-addons:
assignee: Kinner Vachhani (kinner-vachhani) → nobody
Changed in ocb-addons:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers