Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5922 Переглядів

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.

Аватар
Відмінити
Автор Найкраща відповідь

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

In stock_picking there is a field called sale_id.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
4
вер. 24
7284
1
квіт. 18
30
0
лист. 17
3777
0
бер. 15
5607
3
бер. 15
8722