Odoo Help

0
0
Jitu patel
On 7/9/18, 2:52 AM

Hello @Oscar Gonzalez,

Have you got any solution? I am also stuck at this point.

 

Hi, no I've not, i was reading, you only can return one dict, it have happened with other methods also.

Soluciones 4G, Oscar Gonzalez
on 7/9/18, 10:46 AM

Which other method we can get solution?

Jitu patel
on 7/10/18, 12:52 AM
0
Gustavo Hinojosa
On 5/14/18, 10:28 AM

Hello, you have to send the objects and their ids of the objects.


Example:

invoice_obj = self.env ['account.invoice'].browse([1,2])

then invoice_obj = account.invoice(1,2)

or twice the same object

invoice_obj = self.env ['account.invoice'].browse([1,1])

then invoice_obj = account.invoice(1,1)

return self.env.ref('account.account_invoices').report_action(invoice_obj)

i think this could work, but i need to print two diferent reports with the same record, not one report twice

Soluciones 4G, Oscar Gonzalez
on 5/14/18, 10:37 AM

This scheme can print N reports, of an object type.

benasoft, Gustavo Hinojosa
on 5/14/18, 10:56 AM
0
Oscar Gonzalez
On 5/9/18, 6:59 PM

Yes, i've tried, and also doesn't work.

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/9/18, 12:59 PM
Seen: 953 times
Last updated: 7/9/18, 2:52 AM