From d73c7af13ced989a808c6e367d72ffec18ed9258 Mon Sep 17 00:00:00 2001 From: "Anup (OpenERP)" Date: Fri, 17 Sep 2010 15:31:49 +0530 Subject: [PATCH] [FIX] product,project_plannning : corrected yml reporttest file bzr revid: ach@tinyerp.com-20100917100149-u73wv83t30w8oqho --- addons/product/test/product_report.yml | 4 ++-- addons/project_planning/test/project_plannning_report.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/product/test/product_report.yml b/addons/product/test/product_report.yml index 9ff387278aa..6e80083f66b 100644 --- a/addons/product/test/product_report.yml +++ b/addons/product/test/product_report.yml @@ -1,5 +1,5 @@ - - In order to test the PDF reports defined on Products, we will print a Products Pricelists report + In order to test the PDF reports defined on Products, we will print a Products Pricelists Report - !python {model: product.product}: | import netsvc, tools, os @@ -14,4 +14,4 @@ } (data, format) = netsvc.LocalService('report.product.pricelist').create(cr, uid, [ref('product.product_product_pc1'), ref('product.product_product_pc3')], data_dict, {}) if tools.config['test_report_directory']: - file(os.path.join(tools.config['test_report_directory'], 'product-product pricelist'+format), 'wb+').write(data) + file(os.path.join(tools.config['test_report_directory'], 'product-product_pricelist'+format), 'wb+').write(data) diff --git a/addons/project_planning/test/project_plannning_report.yml b/addons/project_planning/test/project_plannning_report.yml index 770522c0d17..a7597af86e8 100644 --- a/addons/project_planning/test/project_plannning_report.yml +++ b/addons/project_planning/test/project_plannning_report.yml @@ -1,6 +1,6 @@ - - In order to test the PDF reports defined on a Project Planning, we will print Project Planning report -- + In order to test the PDF reports defined on a Project Planning, we will print Project Planning Report +- !python {model: report_account_analytic.planning}: | import netsvc, tools, os (data, format) = netsvc.LocalService('report.report_account_analytic.planning.print').create(cr, uid, [ref('project_planning.project_plannning_1')], {}, {})