Hello Community,
i have created an button to open an wizard an from the wizard i v created another button to print report :
@api.multi
def get_wizard(self):
return { 'type': 'ir.actions.act_window',
'name': 'name,
'view_mode': 'form',
'view_type': 'form',
'res_model': 'report.wizard',
'target': 'new' }
but when i click print the window doesn't close , I've tried some solution like ir.actions.act_window_close but i don't launch the wizard , I've also tried to remove report_type from dictionary ,it work partially because the qweb format in not well rendered is there any other solution