Procurement - stock move relationships need to be improved to better handle e.g. split moves
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Wishlist
|
Unassigned |
Bug Description
Hey,
This bug is related to the way stock.picking (especially Delivery Order) are handled. When the Delivery Order is created, one stock.move is produced corresponding to the sale order line. The conception problem comes from the fact that this stock.move is considered to represent the stock.picking entirely in its relation with other objects (sale order, procurement order, purchase order). This leads to serious functional miss behaviors, and would deserve some more conception and specification time.
A related bug for this conception problem is https:/
1,2) Reproduce the functional conception problem and observed result
- Consider a sale order with "on order" procurement method. Let say you sell 200 CPU1, with 100 CPU1 in your stock (important for what follows).
- Confirm the sale order, the corresponding stock.picking with one stock.move is created. Along with a procurement.order.
- Launch the scheduler, a purchase.order (rfq) is created.
- Validate the purchase.order, the incoming shipment, stock.move are created.
- Back to the Delivery Order, put the first line in a new pack, leave 70 CPU1 in the current pack.
- You change your mind, you want to deliver these 70 CPU1 partially. Click Check Availability, the first line (70) becomes available. Click Process, and process the first stock.move. Its state is Done. (sale order is 100% picked, related to bug 794412).
- Now go back to the Incoming Shipment. Process it entirely.
- The remaining stock.move in the Delivery Order is not set to Available
stock.move split are simply not considered; the original stock.move is considered only.
3) expected result
- the remaining stock.move should benefit the newly received products first, and thus should be forced to available.
4, 5) ubuntu 10.04. openEPR 6.0.2.
A deep rethink/rebuild of pick-pack-shipment processes should be engaged. This bug's importance should not be considered as low.
Related branches
description: | updated |
description: | updated |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → Won't Fix |
tags: | added: backorder |
tags: |
added: partial-delivery removed: backorder |
Changed in openobject-addons: | |
assignee: | OpenERP R&D Addons Team 2 (openerp-dev-addons2) → nobody |
Hello Patrick,
I have checked your scenario at my end.
You have described the two problem over here.
First is related to progress bar of 100% which is already is mention on bug # 794412 and it's confirmed So only your second issue is remaining which is "- The remaining stock.move in the Delivery Order is not set to Available".
It is possible only when you click on the "Check Availability" button and then the related stock.move become "available".
When you create a pack for 70 pcs then you see that two stock.move which are in "Confirmed " state and when you press "check availability " button the first stock move (70 pcs) is become available and second one becomes "Not available".
So when you done your picking for incoming shipment then the related delivery order doesn't become "available" automatically you have to press "Check Availability" button then it will become "available".
That's why current behavior is fine.
I have attached a video for your more reference so would you please check it and notify us where you faced the problem.
Thanks for you proper bug specification!