import inventory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
Hello,
We discovered a bug in the wizard "Import Inventary" (openobject-
Scenario :
1) Create a product.
2) Create a stock.move with quantity = 15, source location = supplier and dest location = stock and validate it
3) Create a stock.move with quantity = 10, source location = stock and dest location = stock and validate it
4) Create a stock.move with quantity = 5, source location = stock and dest location = customer and validate it
The final stock for this product should be 15 - (10 + 10) - 5 = 10, but the "Import Inventory" gives a result of 20.
This is because the test
if move.location_
continue # ?
is never done and the wizard simply check if the dest location is stock, and if it is, it adds the quantity
Related branches
- Naresh(OpenERP) (community): Approve
-
Diff: 25 lines (+5/-3)1 file modifiedstock/wizard/stock_fill_inventory.py (+5/-3)
- Naresh(OpenERP) (community): Approve
-
Diff: 24 lines (+5/-2)1 file modifiedstock/wizard/stock_fill_inventory.py (+5/-2)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | New → Confirmed |
importance: | Undecided → Low |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Confirmed |