[IMP]:stock:set pdf title
authorapa-tiny <apa@tinyerp.com>
Thu, 11 Nov 2010 07:22:29 +0000 (12:52 +0530)
committerapa-tiny <apa@tinyerp.com>
Thu, 11 Nov 2010 07:22:29 +0000 (12:52 +0530)
bzr revid: apa@tinyerp.com-20101111072229-tosl80asdzg99xch

addons/stock/report/stock_graph.py

index 4d4c03f..4b92192 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 ##############################################################################
-#    
+#
 #    OpenERP, Open Source Management Solution
 #    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
 #
@@ -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 <http://www.gnu.org/licenses/>.     
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 ##############################################################################
 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 = ''