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
For further actions, you may consider blocking this person and/or reporting abuse
Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.
ashu-commits -
Sam -
Vitali Sorenko -
Rachel Duncan -
Top comments (0)