Skip to Content
Menu
This question has been flagged

Hello, I am trying to print the invoices or bills related to each payment, the current code is only fetching the first invoice or bill, how can I modify it so it would print all the invoices or bills related to this payment. The changes I am doing are on the pdf repot "Payment Receipt"


inv.line_ids.filtered(lambda line: line.account_id.user_type_id.type in ['payable', 'receivable'])" t-as="invoice_line">













Avatar
Discard
Related Posts Replies Views Activity
0
Jun 23
1265
0
Aug 18
2339
0
Jan 25
549
2
May 23
4226
2
Jan 23
11249