Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4045 Ansichten


In v7 and v8 to have the same report printed twice in the same pdf, I just had to pass twice the id to the report (ids=[1,1]).

Now I try to do the same in v9 but I can't find a way to do this: account.invoice(1,1,) !

to_print = self.env['account.invoice']

to_print |= account.invoice(1,)

to_print |= account.invoice(1,)

But here to_print just have once the record account.invoice(1,) , because the "|=" is the intersection.

Is there a way to have what I need ?

Thanks

Avatar
Verwerfen
Autor Beste Antwort

to_print = self.env['account.invoice']

to_print = account.invoice(1,)

to_print += account.invoice(1,)

here to_print is account.invoice(1,1,)

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
4
Sept. 20
41989
1
Jan. 16
5317
3
Apr. 17
18350
0
Aug. 25
162
1
Aug. 25
499