Skip to Content
Menu
This question has been flagged
1 Reply
2276 Views

hi guys,I have an invoice line in my hand i want to get its corresponding journal item(account.move.line) ?Is it possible?

Avatar
Discard
Best Answer

invoice.line -> invoice_id -> move_id -> account.move.line

Find the invoice for the invoice line, then look up the Journal Entry, which should give you the Journal Items.

Avatar
Discard

This is only prior to v13 where there is no relationship because they are the same. The two models were merged.