From a056d7e325693df4e64879e75edfcb780681e90b Mon Sep 17 00:00:00 2001 From: "Anup (OpenERP)" Date: Fri, 17 Sep 2010 19:16:28 +0530 Subject: [PATCH] [FIX] l10n_lu : YML for report test corrected bzr revid: ach@tinyerp.com-20100917134628-abi9hv1ffqwpj65h --- addons/l10n_lu/test/l10n_lu_report.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/l10n_lu/test/l10n_lu_report.yml b/addons/l10n_lu/test/l10n_lu_report.yml index 0ea9850df9a..43b1ce35df1 100644 --- a/addons/l10n_lu/test/l10n_lu_report.yml +++ b/addons/l10n_lu/test/l10n_lu_report.yml @@ -5,10 +5,10 @@ name: a - - In order to test the PDF reports defined on a l10u_lu, we will print a vat + In order to test the PDF reports defined on a l10u_lu, we will print a VAT Report - !python {model: res.partner}: | import netsvc, tools, os (data, format) = netsvc.LocalService('report.l10n_lu.tax.report.print').create(cr, uid, [], {'model':'ir.ui.menu', 'form':{'tax_code_id': ref('account_tax_code_id_r1'), 'period_id': ref('account.period_1')}}, {}) if tools.config['test_report_directory']: - file(os.path.join(tools.config['test_report_directory'], 'l10n_lu-vat.'+format), 'wb+').write(data) + file(os.path.join(tools.config['test_report_directory'], 'l10n_lu-vat_report.'+format), 'wb+').write(data)