[FIX] product,project_plannning : corrected yml reporttest file

bzr revid: ach@tinyerp.com-20100917100149-u73wv83t30w8oqho
This commit is contained in:
Anup (OpenERP)
2010-09-17 15:31:49 +05:30
parent 3a3b039f2c
commit d73c7af13c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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)
@@ -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')], {}, {})