Hi Rainier:
The issue seems to be caused by the following.
When you create the Partner record for the Subcontractor, Odoo assigns the following default values for the locations associated with the Subcontractor in the Inventory section of the Sales & Purchase tab of the partner's Contact record:
Customer Location: Partner Locations/Customers
Vendor Location: Partner Locations/Vendors
Subcontractor Location: Partner Locations/Subcontracting Location
As a result of this, it always assigns Partner Locations/Customers as the delivery location when you create the Delivery Order for the resupply to the Subcontractor.
The Subcontractor Location is probably getting used when you automatically trigger the Resupply by using the 3rd option in the documentation (I haven't had the chance to explore this yet but it is worth looking into). However, this would be useful only if you use the Sales module.
This leaves two options:
Update the Customer Location on the Contact record to Partner Locations/Subcontracting Location. The downside of this is that you will not be able to make a regular sale to this Partner if it is ever needed in the future.
Customize the Delivery Order form and make the Delivery Location field updatable. Personally, I find this option cleaner than the first option since you will be able to make a regular sale to this Partner if it is ever needed in the future.
Hope this helps.
EDIT: Confirmed that the 3rd option works as documented (automatic creation of Delivery order) with the correct Destination Location.
You need to do the following to simulate the whole automated flow:
Set the route to Resupply Subcontractor on Order on each of the components listed in the BoM of your subcontracted product.
Create and confirm a PO for the subcontracted Product (since you will be procuring the subcontracted product from the subcontractor).
This will automatically create a Delivery Order for the subcontractor containing the components in your BoM. The destination location is set to
Partner Locations/Subcontracting Location in this case.
You can then complete the processing of the Delivery Order to supply the product to the subcontractor and then receive subcontracted product from the subcontractor using the receipt that was generated when the PO was confirmed.
If you need to automate the complete cycle starting with Sales, you can set the route of the subcontracted product to Buy and set the subcontractor as the vendor for the product. When you sell the product, it will automatically trigger off a RFQ/PO to the Vendor. When you confirm the PO, it will automatically trigger the Delivery Order of the components to the subcontractor and a receipt for the subcontracted product from the subcontractor.