Community mailing list archives

community@mail.odoo.com

Re: Printing wizard is not closed automatically

by
dhirendra
- 02/25/2016 09:42:18
Hello Archunan,

    returning dictionary should not have 'report_type' key (or pop it from dictionary),
            and add 'datas' : data in a dictionary, where data is self.read(...)[0]
     
    ex: return {
            'context': context,
            'data': data,
            'type': 'ir.actions.report.xml',
            'report_name': report_name,
            'report_file': report_file,
            'datas' : data
        }

On Thu, Feb 25, 2016 at 2:12 PM, Tangaraj Archunan <tangam.king@gmail.com> wrote:
Hi,

         After printing financial reports, the print wizard is not closed automatically??

         In V7, those windows are automatically closed. Any suggestion to have that         behaviour back?

Thanks & Regards

Tangaraj.A

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe