[7.0][stock]bad quantity in report Moves Analysis

Bug #1160057 reported by Julio Serna-http://www.vauxoo.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
OpenERP Publisher's Warranty Team

Bug Description

1.-Steps to reproduce the issue you have observed
Create a new database with data demo.
Install stock module

go to Reporting/moves analysis
grouping by product

2.- The result you observed
The qty column is always adding positively the quantities of all moves of the analized product, regardless if the move is in or out

3.-The result you expected
it should be doing the substraction of the sum of the moves in, against the sum of the moves out

4.-
OpenERP-7.0
Ubuntu. 12.04, Python 2.7.2+
openerp-addons: 8927
openerp- server : 4907
openerp- web : 3867

Tags: maintenance
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Hi Julio,

IMHO Report works as expected. Quantity shows the actual quantity. In Qty and out Qty shows expected
incoming and scheduled outgoing respectively which is not actually processed. So that should not be
subtracted from the total qty.

I hope this helps.
Please let me know if I miss understood it.

Regards,
Rifakat Haradwala

Revision history for this message
Julio Serna-http://www.vauxoo.com (hearthebreaker) wrote :

Hi Rifakat,

I uploaded a video http://www.youtube.com/watch?v=2q6xqUVZpn8&feature=youtu.be

where I show the bug reported

IMHO, the Quantity column should be Quantity = Out Qty - In Qty

Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Sorry Julio, I did not make myself clear in #1. I was wrong, In Qty shows incoming
qty and Out Qty show outgoing qty which is processed.(move done)

Quantity field shows number of qty transferred through stock movement. It ain't
showing the quantity on hand but it shows sum of all the stock moves incoming,
outgoing, initial inventory, transfer as manufacturing raw material, internal
transfer.

Considering only Out and In Qty will put wrong result as it may fail to display these consolidated
transfer value of stock movements. If we display result based on Out Qty - In Qty then how will
it display initial inventory? So purpose of this field is just to show total of all moves.

I hope you understand it.
Please correct me if I am wrong.

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.