From b7e0770faad1fb3d52ddf103baf583bc2ce26205 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Thu, 11 Nov 2010 12:52:29 +0530 Subject: [PATCH] [IMP]:stock:set pdf title bzr revid: apa@tinyerp.com-20101111072229-tosl80asdzg99xch --- addons/stock/report/stock_graph.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/stock/report/stock_graph.py b/addons/stock/report/stock_graph.py index 4d4c03f..4b92192 100644 --- a/addons/stock/report/stock_graph.py +++ b/addons/stock/report/stock_graph.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## from pychart import * @@ -31,6 +31,7 @@ class stock_graph(object): self._datas = {} self._canvas = canvas.init(fname=io, format='pdf') self._canvas.set_author("OpenERP") + self._canvas.set_title("Stock Level Forecast") self._names = {} self.val_min = '' self.val_max = '' -- 1.7.10.4