From 826cd7fed4bd2cd0beca1ea96f6380defac1e9fd Mon Sep 17 00:00:00 2001 From: Olivier Laurent Date: Fri, 23 Jan 2009 15:10:20 +0100 Subject: Added the possibility to create a module Technical Guide in rst (restructured text) bzr revid: olt@tinyerp.com-20090123141020-0ctjqpovr8b4m65e --- .../base/module/wizard/wizard_tech_guide_rst.py | 241 +++++++++++++++++++++ 1 file changed, 241 insertions(+) create mode 100644 bin/addons/base/module/wizard/wizard_tech_guide_rst.py (limited to 'bin/addons/base/module/wizard/wizard_tech_guide_rst.py') diff --git a/bin/addons/base/module/wizard/wizard_tech_guide_rst.py b/bin/addons/base/module/wizard/wizard_tech_guide_rst.py new file mode 100644 index 00000000000..e2a12cf113a --- /dev/null +++ b/bin/addons/base/module/wizard/wizard_tech_guide_rst.py @@ -0,0 +1,241 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2009 Tiny SPRL (). All Rights Reserved +# $Id$ +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +############################################################################## + +import wizard +import osv +import pooler +import os +import tools + +import zipfile +from StringIO import StringIO +import base64 + +choose_file_form =''' +
+ +