I customized a print check button which will pop up a wizard form in Payment Menu in order for user to choose the check print out data will be a cash check or not.
In my wizard print button i return code as below
@api.multi
def action_print(self):
return self.env['report'].get_action(self.payment_id, 'xxx.xxx_report')
After report showed, the wizard still remain unclosed. I've searched on odoo forum and stackoverflow regarding this topic, there're a lot of posts but no definite answer. So i decided to re-post here.
How to close wizard form after print report?