[IMP]:stock:set pdf title
bzr revid: apa@tinyerp.com-20101111072229-tosl80asdzg99xch
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user