跳至內容
選單
此問題已被標幟
1 回覆
5894 瀏覽次數

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
9月 24
7189
1
4月 18
30
0
11月 17
3755
0
3月 15
5577
3
3月 15
8660