From a1cf01c55d2f5f5df497c63ee315db85d3d65abf Mon Sep 17 00:00:00 2001 From: "DBR (OpenERP)" Date: Tue, 11 Oct 2011 11:00:59 +0530 Subject: [PATCH] [MOVE]purchase: Move purchase_report.yml in process folder and remove extra spaces bzr revid: dbr@tinyerp.com-20111011053059-eo3vxartk289a4oq --- addons/purchase/test/{ => process}/purchase_report.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename addons/purchase/test/{ => process}/purchase_report.yml (93%) diff --git a/addons/purchase/test/purchase_report.yml b/addons/purchase/test/process/purchase_report.yml similarity index 93% rename from addons/purchase/test/purchase_report.yml rename to addons/purchase/test/process/purchase_report.yml index bbc15b1e936..2f85e9e52ec 100644 --- a/addons/purchase/test/purchase_report.yml +++ b/addons/purchase/test/process/purchase_report.yml @@ -1,6 +1,6 @@ - In order to test the PDF reports defined on a Purchase Order, we will print a Request Quotation report -- +- !python {model: purchase.order}: | import netsvc, tools, os (data, format) = netsvc.LocalService('report.purchase.quotation').create(cr, uid, [ref('purchase.order_purchase1'),ref('purchase.order_purchase2')], {}, {}) @@ -8,9 +8,9 @@ file(os.path.join(tools.config['test_report_directory'], 'purchase-request_quotation'+format), 'wb+').write(data) - In order to test the PDF reports defined on a Purchase Order, we will print Purchase Order report -- +- !python {model: purchase.order}: | import netsvc, tools, os (data, format) = netsvc.LocalService('report.purchase.order').create(cr, uid, [ref('purchase.order_purchase1'),ref('purchase.order_purchase2')], {}, {}) if tools.config['test_report_directory']: - file(os.path.join(tools.config['test_report_directory'], 'purchase-purchase_order_report'+format), 'wb+').write(data) \ No newline at end of file + file(os.path.join(tools.config['test_report_directory'], 'purchase-purchase_order_report'+format), 'wb+').write(data)