[IMP]: Improvement
bzr revid: ksa@tinyerp.co.in-20101213060953-ov1xe2kik8edd98x
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user