Comment 11 for bug 1025140

Revision history for this message
Amit Parik (amit-parik) wrote : Re: Subcontracting Process - Raw material's Delivery order doesn't created If product 's procure method='buy' .

Hello Mannu,

First of all sub-contracting are working for only manufacturing product So our sub-contracting product's method must be "Produce" then and then it will creates a delivery order also generating the MO for sub-contracting product which is correct.

Sub-contracting means you have manufacturing a item by your supplier and give him a all raw material and your product will be manufactured on your supplier location by supplier.So your product's procure method must be "produce".
If you give the procure method as "make to order " then OpenERP always creates a RFQ it's doesn't go to check the BoM as well as the routing that's here, we got a RFQ and doesn't seen the delivery order. Finally it means that if we set the procure method=buy on subcontracting system never work for subcontracting.

Also you have to configure the location on following manner as well as assign the correct routing

Now the final configuration for manufacturing Please configure your system like in following manner.

Wire :(stockable :- Make to order/make to stock : Produce) main product.
Conductor (Stockable : Make to order: produce) Subcontracting product .(Component for Wire)
Insulation tape: (Make to order/make to stock : Buy) (Another component for wire )

Silver and copper (Make to stock/buy) (component for Conductor which will supplied by us)

Create one supplier location (test):
Location Type : supplier
Location chained type : Fixed
Chained Location if Fixed: your Stock
Location Address: Select an address of the subcontracting partner

BOM:
Wire : Component : Conductor
                                    : Insulation tape
Conductor: Component : Silver
                                              : Copper
                       Routing : Select your created supplier location on production location.

Now create the MO for Wire it will creates a MO for Conductor and delivery order for silver and copper.
Also the stock move of sliver and copper are like.
Stock to test (supplier location)
test to production location

Which is also correct.

Finally all seems correct, if your configuration is proper. So it's not a bug and you can not set a procure method ="buy" because OpenERP directly creates a PO if we select the procure method ="buy" as I said.

@Steffie: As your invoicing issue I agreed there is some issues on invoicing with Sub-contracting , If you setting the following configuration then you will got the correct result on invoicing too.

When Delivey order is generated the some field value should be as follows
Delivery Order Form -> Auto Picking = Disable state
           -> Invoice Control = To Be Invoiced

Hope this will help.
So this is not a bug and I am going to close it.

Thanks and appreciate your efforts on this.