MPS creates 0 quantity Procurements

Bug #448626 reported by Grzegorz Grzelak (OpenGLOBE.pl)
This bug report is a duplicate of:  Bug #463499: MPS few bugs. Edit Remove

This bug report was converted into a question: question #86607: MPS creates 0 quantity Procurements.

6
This bug affects 1 person
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
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Fixed by revision 3949 <email address hidden>.

Thank you.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Fixed by revision 3909 <email address hidden> in trunk extra addons.

Changed in openobject-addons:
status: Confirmed → Fix Released
Revision history for this message
Grzegorz Grzelak (OpenGLOBE.pl) (grzegorz-og.pl) wrote :

The bug is fixed. Procurement is created with quantity from field "Expected In". But Procurement should mean that we Buy or Produce something. And MPS creates Procurement with reservation Stock -> Output what rather means sales. I created a product with Supply Method - Buy. So I think clicking "Procure Incoming Left" in MPS should create Purchase order.

I convert it to Question because I could not understand something but it looks as bug to me.

Changed in openobject-addons:
status: Fix Released → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.