-
  In order to test the PDF reports defined on Account, Print a Financial Statement Report
- 
  !python {model: account.report.report}: |
    import netsvc, tools, os
    (data, format) = netsvc.LocalService('report.accounting.report').create(cr, uid, [ref('account_report.account_report_1')], {}, {})
    if tools.config['test_report_directory']:
        file(os.path.join(tools.config['test_report_directory'], 'account_report-financial_statement_report.'+format), 'wb+').write(data)
-
  Print the Indicators Report in Normal mode
-
  !python {model: account.report.history }: |
    import netsvc, tools, os, time
    data_dict = {'model': 'ir.ui.menu', 'form': {'select_base':'year','base_selection':[ref('account.data_fiscalyear')],'context':{}}}
    (data, format) = netsvc.LocalService('report.print.indicators').create(cr, uid, [], data_dict, {})
    if tools.config['test_report_directory']:
       file(os.path.join(tools.config['test_report_directory'], 'account_report-indicators_report.'+format), 'wb+').write(data)