From 8cfba5e4abc7b1cbe10ab166bda1721c959d85e8 Mon Sep 17 00:00:00 2001 From: "Anup (OpenERP)" Date: Fri, 17 Sep 2010 19:34:47 +0530 Subject: [PATCH] [FIX] l10n_ch : YML for report test corrected bzr revid: ach@tinyerp.com-20100917140447-boby81bpcvhfg1cr --- addons/l10n_ch/test/l10n_ch_report.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/l10n_ch/test/l10n_ch_report.yml b/addons/l10n_ch/test/l10n_ch_report.yml index 0379e6bc83b..49c058a4bc8 100644 --- a/addons/l10n_ch/test/l10n_ch_report.yml +++ b/addons/l10n_ch/test/l10n_ch_report.yml @@ -1,17 +1,17 @@ - - In order to test the PDF reports defined on a l10n_ch, we will print a bvr_report + In order to test the PDF reports defined on a l10n_ch, we will print BVR Report - !python {model: account.invoice}: | import netsvc, tools, os (data, format) = netsvc.LocalService('report.l10n_ch.bvr').create(cr, uid, [ref('account.test_invoice_1')], {}, {}) if tools.config['test_report_directory']: - file(os.path.join(tools.config['test_report_directory'], 'l10ch-bvr_order.'+format), 'wb+').write(data) + file(os.path.join(tools.config['test_report_directory'], 'l10ch-bvr_report.'+format), 'wb+').write(data) - - In order to test the PDF reports defined on a l10n_ch, we will print a bvr_invoice_report + In order to test the PDF reports defined on a l10n_ch, we will print a BVR Invoice Report - !python {model: account.invoice}: | import netsvc, tools, os (data, format) = netsvc.LocalService('report.l10n_ch.invoice.bvr').create(cr, uid, [ref('account.test_invoice_1')], {}, {}) if tools.config['test_report_directory']: - file(os.path.join(tools.config['test_report_directory'], 'l10ch-bvr_invoice.'+format), 'wb+').write(data) + file(os.path.join(tools.config['test_report_directory'], 'l10ch-bvr_invoice_report.'+format), 'wb+').write(data)