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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
jún 23
2031
0
aug 18
3307
0
jan 25
1595
2
máj 23
5241
2
jan 23
12346