Wrong dates used when confirming stock inventory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
Unassigned | ||
OpenERP Community Backports (Addons) |
Fix Committed
|
Medium
|
Unassigned | ||
OpenERP new WMS |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
[ Problem ]
action_confirm method is not taking in account "date" from stock.inventory object, and update qtys in the moment of confirmation.
The inventory date is taken into account when querying the stock to compute the inventory difference but the stock moves are created at the wrong date, making the stock and virtual stock wrong at the date of the inventory.
Users expect that the inventory date should say _when_ the inventory was taken - in this way the amount to correct should effective before this date.
Attached videos gives better explanation, and document with kardex expected.
[ Impact ] the available quantity and virtual stock are wrong near the date of the inventory.
[ Possible fixes ]
- The preferred fix would be to write the stock moves at the date of the inventory.
- A less-than-ideal fix would be to not take the inventory date is taken into account when querying the stock to compute the inventory difference. For the moment is the way v8 is being developed.
Related branches
- Michael (OpenERP) (community): Approve
- Naresh(OpenERP) (community): Approve
- Olivier Dony (Old Profile): Pending requested
-
Diff: 34 lines (+11/-5)1 file modifiedstock/stock.py (+11/-5)
- Numérigraphe (community): Needs Fixing
- Naresh(OpenERP) (community): Approve
-
Diff: 31 lines (+14/-1)1 file modifiedstock/stock.py (+14/-1)
- OpenERP Core Team: Pending requested
-
Diff: 36 lines (+9/-1)1 file modifiedstock/stock.py (+9/-1)
- Loïc Bellier - Numérigraphe (community): Approve (code review)
- OpenERP Core Team: Pending requested
-
Diff: 64 lines (+17/-3)2 files modifiedstock/stock.py (+9/-1)
stock/test/stock_test.yml (+8/-2)
- Holger Brunn (Therp): Approve (code review)
-
Diff: 35 lines (+6/-1)1 file modifiedstock/stock.py (+6/-1)
description: | updated |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | New → Confirmed |
tags: | added: inventory |
Changed in openobject-addons: | |
status: | Confirmed → Fix Committed |
summary: |
- [6.0] Stock inventory not take DATE to calucate stock-move qty. + Wrong dates used when confirming stock |
description: | updated |
Changed in openobject-addons: | |
status: | Fix Committed → Confirmed |
summary: |
- Wrong dates used when confirming stock + Wrong dates used when confirming stock inventory |
description: | updated |
Changed in ocb-addons: | |
status: | In Progress → Confirmed |
Changed in ocb-addons: | |
importance: | Undecided → Medium |
Changed in openerp-trunk-wms: | |
status: | Won't Fix → Fix Released |
Changed in ocb-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
assignee: | nobody → Lionel Sausin - Numérigraphe (lionel-sausin) |
I attach a Video from user poit of view.