From 487f47cde8d472d44df325495ab8e161e16fd779 Mon Sep 17 00:00:00 2001 From: "ksa (Open ERP)" Date: Mon, 13 Dec 2010 11:39:53 +0530 Subject: [PATCH] [IMP]: Improvement bzr revid: ksa@tinyerp.co.in-20101213060953-ov1xe2kik8edd98x --- addons/mrp/report/workcenter_load.py | 4 ++-- addons/mrp/test/mrp_report.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/mrp/report/workcenter_load.py b/addons/mrp/report/workcenter_load.py index 9be42edd860..ef9a22a914e 100644 --- a/addons/mrp/report/workcenter_load.py +++ b/addons/mrp/report/workcenter_load.py @@ -124,7 +124,7 @@ class report_custom(report_int): x_index.append((dates[date]['name'], date)) pdf_string = StringIO.StringIO() can = canvas.init(fname=pdf_string, format='pdf') - can.set_title("Work Centers Load") + can.set_title("Work Center Load") chart_object.set_defaults(line_plot.T, line_style=None) if datas['form']['measure_unit'] == 'cycles': y_label = "Load (Cycles)" @@ -132,7 +132,7 @@ class report_custom(report_int): y_label = "Load (Hours)" # For add the report header on the top of the report. - tb = text_box.T(loc=(300, 500), text="/hL/15/bWork Centers Load", line_style=None) + tb = text_box.T(loc=(300, 500), text="/hL/15/bWork Center Load", line_style=None) tb.draw() ar = area.T(legend = legend.T(), x_grid_style = line_style.gray70_dash1, diff --git a/addons/mrp/test/mrp_report.yml b/addons/mrp/test/mrp_report.yml index db9a83d495b..62d58674884 100644 --- a/addons/mrp/test/mrp_report.yml +++ b/addons/mrp/test/mrp_report.yml @@ -26,7 +26,7 @@ file(os.path.join(tools.config['test_report_directory'], 'mrp-product_price_report.'+format), 'wb+').write(data) - - In order to test the PDF reports defined on a MRP, we will print Workcenter Load Report + In order to test the PDF reports defined on a MRP, we will print Work Center Load Report - !python {model: mrp.workcenter}: | import netsvc, tools, os, time