the link between sales order to purchase order in Odoo

Jeevachaithanyan Sivanandan - Dec 7 '23 - - Dev Community

If you want to use a link between sales and purchase order then

purchase_order = self.order_line.purchase_line_ids.order_id
Enter fullscreen mode Exit fullscreen mode

this will give the purchase order connected to the current sales order

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player