Odoo Help

1

[v9] How to close a wizard after print pdf?

By
Anabela Damas
on 6/16/16, 11:08 AM 570 views

Hi, 

I have  a wizard with a button  where return this: 

return self.env['report'].get_action(record_to_print, 'account.report_invoice')

But I wanted to close the wizard after print the report. 

When I don't have to return a report is easy , I do this: 

return {'type': 'ir.actions.act_window_close'}

How do I print my report and after close the wizard ? 


Thanks


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 6/16/16, 11:08 AM
Seen: 570 times
Last updated: 7/12/16, 9:21 AM