From: apa-tiny Date: Thu, 11 Nov 2010 07:22:29 +0000 (+0530) Subject: [IMP]:stock:set pdf title X-Git-Tag: 6.0.0-rc2-addons~333^2~26 X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=b7e0770faad1fb3d52ddf103baf583bc2ce26205;p=odoo%2Fodoo.git [IMP]:stock:set pdf title bzr revid: apa@tinyerp.com-20101111072229-tosl80asdzg99xch --- 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 = ''