Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
5928 Ansichten

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
Verwerfen
Autor Beste Antwort

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

In stock_picking there is a field called sale_id.

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
4
Sept. 24
7291
1
Apr. 18
30
0
Nov. 17
3784
0
März 15
5610
3
März 15
8726