DEV Community

Jeevachaithanyan Sivanandan
Jeevachaithanyan Sivanandan

Posted on

the link between sales order to purchase order in Odoo

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

Top comments (0)