İçereği Atla
Menü
Bu soru işaretlendi

What is the link between sale order and invoice, and delivery order and invoice in odoo 11

we have to print invoice reference no in sale order print as well as delivery order.


Avatar
Vazgeç
En İyi Yanıt

You could be searching these couple of fields. Are from my db in Odoo12, but maybe there were the same at Odoo11.

The sale module, 'sale.order' model have this related field to Invoices.

invoice_ids = fields.Many2many("account.invoice", string='Invoices', compute="_get_invoiced", readonly=True, copy=False)

And the sale_stock module, also in the inherited 'sale.order' model is the line:

picking_ids = fields.One2many('stock.picking', 'sale_id', string='Pickings')

So from there you can get all the info you need.




Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
6
May 24
12581
2
Eki 18
6362
4
May 23
9812
1
May 17
6185
0
Eyl 23
1464