[6.0.3] Physical inventory - import inventory action broken
Bug #898498 reported by
Colm
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
The Import Inventory action in Physical Inventories is broken and only imports stock moves into to selected location, all outgoing moves are ignored which means the amounts imported will generally always be incorrect.
In stock_fill_
Line 89: move_ids = move_obj.search(cr, uid, [('location_
One way to test the import action is that if the imported inventory is confirmed without any changes there should be no posted moves in the physical inventory.
Related branches
lp:~openerp-dev/openobject-addons/6.0-opw-381931-ado
- Amit Dodiya (OpenERP) (community): Needs Resubmitting
- Xavier ALT (community): Needs Information
- Naresh(OpenERP) (community): Approve
- nel: Pending requested
-
Diff: 36 lines (+9/-4)1 file modifiedstock/wizard/stock_fill_inventory.py (+9/-4)
lp:~openerp-dev/openobject-addons/6.0-opw-578768-rha
Approved
for merging
into
lp:openobject-addons/6.0
- Naresh(OpenERP) (community): Approve
-
Diff: 24 lines (+5/-2)1 file modifiedstock/wizard/stock_fill_inventory.py (+5/-2)
lp:~openerp-dev/openobject-addons/6.1-opw-578768-rha
Approved
for merging
into
lp:openobject-addons/6.1
- Naresh(OpenERP) (community): Approve
-
Diff: 25 lines (+5/-3)1 file modifiedstock/wizard/stock_fill_inventory.py (+5/-3)
lp:~openerp-dev/openobject-addons/trunk-opw-578768-port-mma
Rejected
for merging
into
lp:openobject-addons
- OpenERP Core Team: Pending requested
-
Diff: 25 lines (+5/-3)1 file modifiedstock/wizard/stock_fill_inventory.py (+5/-3)
To post a comment you must log in.
I checked the trunk version and this has been partially fixed in trunk revision #5339. Both in and out moves are recorded there.
It still is broken however as any product with move history is included in the import. Any inventory with zero stock should not be imported.