MPS creates 0 quantity Procurements
This bug report was converted into a question: question #86607: MPS creates 0 quantity Procurements.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have created fresh db with Manufacturing profile. Installed "stock_planning" module.
I created 3 periods and corresponding Sales forecast for product A:
2009/10 15
2009/11 12
2009/12 20
I purchased 9 pieces of product A
Then I evaluate MPS line for period 2009/11
With following data:
Confirmed In, Confirmed Out =0
Planned Sales = 12
Planned Out = 3 (manually entered)
Expected Out = 3
Planned In = 1 (Manually entered)
Expected In = 1
Stock = 7
I click "Procure Incoming Left" and I got Procurement order with quantity 0 and reservation "Stock > Output".
I am still not sure which field should be taken as quantity for Procurement (probably "Expected In"). I have checked a lot of values combination and always got Procurement 0 quantity with reservation Stock to Output. If any combination of values goes to Procure nothing it shouldn't create Procurement order at all. And for sure this procurement shouldn't create Output moves.
Changed in openobject-addons: | |
status: | New → Confirmed |
Fixed by revision 3949 <email address hidden>.
Thank you.