Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
6
kvě 24
12504
2
říj 18
6327
4
kvě 23
9733
1
kvě 17
6138
0
zář 23
1412