跳至内容
菜单
此问题已终结
1 回复
3977 查看


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

形象
丢弃
编写者 最佳答案

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

to_print = account.invoice(1,)

to_print += account.invoice(1,)

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

形象
丢弃
相关帖文 回复 查看 活动
4
9月 20
41860
1
1月 16
5247
3
4月 17
18253
1
8月 25
353
2
7月 25
2803