Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
kesäk. 23
2099
0
elok. 18
3353
0
tammik. 25
1679
2
toukok. 23
5322
2
tammik. 23
12413