Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4134 Vues


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
Ignorer
Auteur Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
4
sept. 20
42236
1
janv. 16
5473
3
avr. 17
18472
1
août 25
482
1
août 25
693