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)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay