[FIX] purchase_requisition: link stock.move to procurement
[FIX] purchase_requisition: link stock.move to procurement

When a purchase requisition is created from a procurement, the
subsequent stock moves (create from the PO lines) are not linked to the
original procurement/stock moves.

This is an issue in the following use case:
- Product "Assembly" configured in MTO and manufactured
- Product "Part" configured in MTO and bought from suppliers thanks to
  purchase requisitions
- A BoM is created for "Assembly" and is build from "Part"

When "Assembly" is sold, a MO is created, which generated a purchase
requisition for "Part". The MO is in state "Awaiting for Raw Materials"
since we need to purchase the components.

However, when the components are purchased and received, the MO stays in
the same state since there is not link between the stock move received
from the PO and the stock move created for the MO. The MO is therefore
stuck in "Awaiting for Raw Materials" state.

The fix is to keep track of the original procurement and stock moves.
Ideally, we should link the procurement to the PO lines, but that is not
possible since the field `purchase_line_id` on the procurement is a
Many2one. Therefore, we need to hook the confirmation process and
manually link the stock moves related to the PO to the stock moves
related to the MO.

opw-681138

hip-odoo/odoo,ygol/odoo,storm-computers/odoo,bplancher/odoo,microcom/odoo,ygol/odoo,bplancher/odoo,hip-odoo/odoo,storm-computers/odoo,storm-computers/odoo,microcom/odoo,ygol/odoo,storm-computers/odoo,microcom/odoo,laslabs/odoo,hip-odoo/odoo,laslabs/odoo,laslabs/odoo,bplancher/odoo,microcom/odoo,microcom/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,Elico-Corp/odoo_OCB,hip-odoo/odoo,dfang/odoo,microcom/odoo,ygol/odoo,storm-computers/odoo,laslabs/odoo,ygol/odoo,hip-odoo/odoo,storm-computers/odoo,dfang/odoo,dfang/odoo,bplancher/odoo,laslabs/odoo,ygol/odoo,Elico-Corp/odoo_OCB,Elico-Corp/odoo_OCB,dfang/odoo,dfang/odoo,ygol/odoo,Elico-Corp/odoo_OCB,dfang/odoo,Elico-Corp/odoo_OCB,hip-odoo/odoo,bplancher/odoo,bplancher/odoo