If you want to use a link between sales and purchase order then
purchase_order = self.order_line.purchase_line_ids.order_id
this will give the purchase order connected to the current sales order
If you want to use a link between sales and purchase order then
purchase_order = self.order_line.purchase_line_ids.order_id
this will give the purchase order connected to the current sales order