Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7639 มุมมอง

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.


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.




อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
6
พ.ค. 24
12701
2
ต.ค. 18
6428
4
พ.ค. 23
9882
1
พ.ค. 17
6257
0
ก.ย. 23
1528