I have a purchase order that contains 100 units of product A.
The supplier executes the order, but sends 100 units of product B that has the same properties with product A (it's just from another firm, but otherwise has the same properties with product A).
When I receive the products in the order's corresponding stock picking I add another stock move to receive 100 units of product B and 0 units of product A.
What I would like is when I validate the stock picking to automatically update the order and add an extra line in order lines that includes the product B with ordered qty=0 and received qty=100.
In short, I want the order to be updated with the extra lines I add in the corresponding stock picking.