From 14f4df40dc3fbcab03aee4f51fcc2540f87cfdef Mon Sep 17 00:00:00 2001 From: "Anup (OpenERP)" Date: Fri, 17 Sep 2010 18:36:47 +0530 Subject: [PATCH] [FIX] mrp_operations : YML corrected bzr revid: ach@tinyerp.com-20100917130647-qqxt5imw4tqgbfrb --- addons/mrp_operations/test/mrp_operations_report.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/mrp_operations/test/mrp_operations_report.yml b/addons/mrp_operations/test/mrp_operations_report.yml index c83d077acde..f0a646adf4e 100644 --- a/addons/mrp_operations/test/mrp_operations_report.yml +++ b/addons/mrp_operations/test/mrp_operations_report.yml @@ -1,17 +1,17 @@ - - In order to test the PDF reports defined on a mrp operations, we will print a barcode + In order to test the PDF reports defined on a MRP Operations, we will print a Barcode Report - !python {model: mrp_operations.operation.code}: | import netsvc, tools, os (data, format) = netsvc.LocalService('report.mrp.code.barcode').create(cr, uid, [ref('mrp_operations.mrp_op_1'),ref('mrp_operations.mrp_op_2'),ref('mrp_operations.mrp_op_3'),ref('mrp_operations.mrp_op_4'),ref('mrp_operations.mrp_op_5')], {}, {}) if tools.config['test_report_directory']: - file(os.path.join(tools.config['test_report_directory'], 'mrp_operations-barcoder.'+format), 'wb+').write(data) + file(os.path.join(tools.config['test_report_directory'], 'mrp_operations-barcode_report.'+format), 'wb+').write(data) - - In order to test the PDF reports defined on a mrp operations, we will print a workcenters + In order to test the PDF reports defined on a MRP Operations, we will print Workcenter's Barcode Report - !python {model: mrp.workcenter}: | import netsvc, tools, os (data, format) = netsvc.LocalService('report.mrp.wc.barcode').create(cr, uid, [ref('mrp.mrp_workcenter_0'),ref('mrp.mrp_workcenter_1')], {}, {}) if tools.config['test_report_directory']: - file(os.path.join(tools.config['test_report_directory'], 'mrp_ workcenter.'+format), 'wb+').write(data) + file(os.path.join(tools.config['test_report_directory'], 'mrp_operations-workcenter_barcode_report.'+format), 'wb+').write(data)