Odoo Help


Where I can find the relation between sale_order and stock_picking (deliver order)?

Stefan Reisich
on 8/28/13, 8:40 AM 1,546 views


I have a delivery order OUT/00008 with the id 11. How can I get the corresponding sale order and the invoice if exists, programmatically?

Update: I found the relation between sale_order and account_invoice at sale_order_invoice_rel. But where is the relation between sale_order and stock_picking(delivery orders) ?

Thank you.


Stefan Reisich

--Stefan Reisich--
Rove.design GmbH
| 7 7 8
Pfungstadt, Germany
--Stefan Reisich--

Stefan Reisich
On 8/28/13, 1:59 PM

I don't know why I don't have seen it...

In stock_picking there is a field called sale_id.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 8/28/13, 8:40 AM
Seen: 1546 times
Last updated: 3/16/15, 8:10 AM