콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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.




아바타
취소
관련 게시물 답글 화면 활동
6
5월 24
12863
2
10월 18
6515
4
5월 23
10054
1
5월 17
6409
0
9월 23
1707