[IMP]:stock:set pdf title

bzr revid: apa@tinyerp.com-20101111072229-tosl80asdzg99xch
This commit is contained in:
apa-tiny
2010-11-11 12:52:29 +05:30
parent 1ee2769f1c
commit b7e0770faa
+3 -2
View 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 = ''