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