Odoo Help

0

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

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

Hello,

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.

2

Stefan Reisich

--Stefan Reisich--
Stefan Reisich
841
| 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 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.

Register

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)

Stats

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