Purchase not processed when move is do without shipment
Normally it should not be done (hidden from the purchase relate) but it is still possible to find the move and do it without include in a shipment. So in such case we should process the related purchase. There is no such problem with sale because the moves are linked to a shipment (which is readonly)