Odoo Help


This community 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.


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

Stefan Reisich
on 8/28/13, 8:40 AM 1,043 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--
| 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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