You have to process your outgoing shipment first before you go to purchase order. This code will produce an error if you try to do this on a stock.move which is in state done. You have created and confirmed your sale order but you haven't processed your outgoing shipment before going to purchase order...
Hi Amit!
You have to process your outgoing shipment first before you go to purchase order. This code will produce an error if you try to do this on a stock.move which is in state done. You have created and confirmed your sale order but you haven't processed your outgoing shipment before going to purchase order...