Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6098 Visualizzazioni

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.

Avatar
Abbandona
Autore Risposta migliore

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

In stock_picking there is a field called sale_id.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
set 24
8057
1
apr 18
30
0
nov 17
4021
0
mar 15
5974
3
mar 15
9177