From c10c1e6ef794714b816b079cd8233268947b350a Mon Sep 17 00:00:00 2001 From: "nicolas.bessi@camptocamp.com" <> Date: Thu, 7 Oct 2010 09:45:18 +0200 Subject: [PATCH 01/64] [ADD] webkit report bzr revid: nicolas.bessi@camptocamp.com-20101007074518-ju1emqts6idtu0p5 --- addons/c2c_webkit_invoice/__init__.py | 32 ++ addons/c2c_webkit_invoice/__openerp__.py | 50 +++ addons/c2c_webkit_invoice/data.xml | 225 ++++++++++ addons/c2c_webkit_invoice/i18n/fr_FR.po | 241 ++++++++++ addons/c2c_webkit_invoice/report/__init__.py | 32 ++ .../report/report_webkit_html.mako | 83 ++++ .../report/report_webkit_html.py | 17 + .../report_webkit_html_view.xml | 6 + addons/c2c_webkit_invoice/wizard/__init__.py | 32 ++ .../wizard/report_actions.py | 177 ++++++++ .../wizard_report_actions_view.xml | 9 + addons/c2c_webkit_report/__init__.py | 36 ++ addons/c2c_webkit_report/__terp__.py | 78 ++++ addons/c2c_webkit_report/company.py | 59 +++ addons/c2c_webkit_report/company_view.xml | 23 + addons/c2c_webkit_report/data.xml | 321 ++++++++++++++ addons/c2c_webkit_report/header.py | 100 +++++ addons/c2c_webkit_report/header_view.xml | 64 +++ addons/c2c_webkit_report/ir_report.py | 181 ++++++++ addons/c2c_webkit_report/ir_report_view.xml | 40 ++ addons/c2c_webkit_report/report_helper.py | 88 ++++ addons/c2c_webkit_report/webkit_report.py | 418 ++++++++++++++++++ addons/c2c_webkit_report/wizard/__init__.py | 32 ++ .../wizard/report_actions.py | 177 ++++++++ 24 files changed, 2521 insertions(+) create mode 100644 addons/c2c_webkit_invoice/__init__.py create mode 100644 addons/c2c_webkit_invoice/__openerp__.py create mode 100644 addons/c2c_webkit_invoice/data.xml create mode 100644 addons/c2c_webkit_invoice/i18n/fr_FR.po create mode 100644 addons/c2c_webkit_invoice/report/__init__.py create mode 100644 addons/c2c_webkit_invoice/report/report_webkit_html.mako create mode 100644 addons/c2c_webkit_invoice/report/report_webkit_html.py create mode 100644 addons/c2c_webkit_invoice/report_webkit_html_view.xml create mode 100644 addons/c2c_webkit_invoice/wizard/__init__.py create mode 100644 addons/c2c_webkit_invoice/wizard/report_actions.py create mode 100644 addons/c2c_webkit_invoice/wizard_report_actions_view.xml create mode 100644 addons/c2c_webkit_report/__init__.py create mode 100644 addons/c2c_webkit_report/__terp__.py create mode 100644 addons/c2c_webkit_report/company.py create mode 100644 addons/c2c_webkit_report/company_view.xml create mode 100644 addons/c2c_webkit_report/data.xml create mode 100644 addons/c2c_webkit_report/header.py create mode 100644 addons/c2c_webkit_report/header_view.xml create mode 100644 addons/c2c_webkit_report/ir_report.py create mode 100644 addons/c2c_webkit_report/ir_report_view.xml create mode 100644 addons/c2c_webkit_report/report_helper.py create mode 100644 addons/c2c_webkit_report/webkit_report.py create mode 100644 addons/c2c_webkit_report/wizard/__init__.py create mode 100644 addons/c2c_webkit_report/wizard/report_actions.py diff --git a/addons/c2c_webkit_invoice/__init__.py b/addons/c2c_webkit_invoice/__init__.py new file mode 100644 index 00000000000..9b406f754d8 --- /dev/null +++ b/addons/c2c_webkit_invoice/__init__.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2010 Camptocamp SA (http://www.camptocamp.com) +# All Right Reserved +# +# Author : Nicolas Bessi (Camptocamp) +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# 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 2 +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## +import wizard +import report \ No newline at end of file diff --git a/addons/c2c_webkit_invoice/__openerp__.py b/addons/c2c_webkit_invoice/__openerp__.py new file mode 100644 index 00000000000..4b58f14253d --- /dev/null +++ b/addons/c2c_webkit_invoice/__openerp__.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2010 Camptocamp SA (http://www.camptocamp.com) +# All Right Reserved +# +# Author : Nicolas Bessi (Camptocamp) +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# 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 2 +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + +{ + "name" : "webkit report", + "description" : """Sample webkit Invoice Report base on WebKit engine (wkhtmltopd lib) that allows to do HTML2PDF reporting. + + A sample invoice report is defined . + You have to create the print button by calling a wizard. For more details : + http://files.me.com/nbessi/06n92k.mov + """, + "version" : "0.9", + "depends" : ["base", "account","c2c_webkit_report"], + "author" : "Camptocamp SA - NBessi", + "init_xml" : ['data.xml'], + "update_xml": [ + "wizard_report_actions_view.xml", + "report_webkit_html_view.xml", + ], + "installable" : True, + "active" : False, +} \ No newline at end of file diff --git a/addons/c2c_webkit_invoice/data.xml b/addons/c2c_webkit_invoice/data.xml new file mode 100644 index 00000000000..77ab472b6f1 --- /dev/null +++ b/addons/c2c_webkit_invoice/data.xml @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + + + + + +
Page of
+ +]]>
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
${helper.embeed_logo_by_name('camptocamp_logo')}

${company.partner_id.name |entity} +
${company.partner_id.address and company.partner_id.address[0].street or ''|entity} +
Phone: ${company.partner_id.address and company.partner_id.address[0].phone or ''|entity} +
Mail: ${company.partner_id.address and company.partner_id.address[0].email or ''|entity}
${_debug or ''} +]]> +
+ + + +
+ + + + + +
+
diff --git a/addons/c2c_webkit_invoice/i18n/fr_FR.po b/addons/c2c_webkit_invoice/i18n/fr_FR.po new file mode 100644 index 00000000000..aa0d151c374 --- /dev/null +++ b/addons/c2c_webkit_invoice/i18n/fr_FR.po @@ -0,0 +1,241 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * c2c_webkit_invoice +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.0dev\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2010-10-05 06:33:26+0000\n" +"PO-Revision-Date: 2010-10-05 06:33:26+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: c2c_webkit_invoice +#: wizard_view:ir.report_actions,exist:0 +msgid "Report Action already exist for this report." +msgstr "Report Action already exist for this report." + +#. module: c2c_webkit_invoice +#: wizard_field:ir.report_actions,add,print_button:0 +msgid "Add print button" +msgstr "Add print button" + +#. module: c2c_webkit_invoice +#: model:ir.actions.report.xml,name:c2c_webkit_invoice.report_webkit_html +msgid "WebKit invoice" +msgstr "facture WebKit" + +#. module: c2c_webkit_invoice +#: model:ir.actions.wizard,name:c2c_webkit_invoice.wizard_oo_report_actions +#: wizard_view:ir.report_actions,add:0 +#: wizard_view:ir.report_actions,exist:0 +msgid "Add Print Buttons" +msgstr "Ajouter des boutons d'impression" + +#. module: c2c_webkit_invoice +#: code:addons/c2c_webkit_invoice/wizard/report_actions.py:0 +#, python-format +msgid "Client Actions Connections" +msgstr "Actions Client Connections" + +#. module: c2c_webkit_invoice +#: model:ir.module.module,description:c2c_webkit_invoice.module_meta_information +msgid "Report system base on WebKit engine (wkhtmltopd lib) that allows to do HTML2PDF reporting.\n" +"The module structure and some is inspired of the report_openoffice module\n" +"The module allows:\n" +" -HTML report definition\n" +" -Multi header support \n" +" -Multi logo\n" +" -Multi company support\n" +" -HTML and CSS-3 support (In the limit of the actual WebKIT version)\n" +" -JavaScript support \n" +" -Raw HTML debugger\n" +" -Book printing capabilities\n" +" -Margins definition \n" +" -Paper size definition\n" +"and munch more\n" +"\n" +"Many header are defined per company\n" +"Many logo are defined per company\n" +"CSS style, header and footer body are defined in the company\n" +"\n" +"The mapper library can be found here\n" +"http://code.google.com/p/wkhtmltopdf/\n" +"The libraries are included for Linux, Mac OS X i386 and Windows 32.\n" +"\n" +"A sample invoice report is defined in the report. \n" +"You have to create the print button by calling a wizard. For more details :\n" +" http://files.me.com/nbessi/06n92k.mov \n" +"\n" +"TODO :\n" +"JavaScript support activation deactivation\n" +"Collated and book format support\n" +"Zip return for separated PDF\n" +"Web client WYSIWYG\n" +" " +msgstr "Report system base on WebKit engine (wkhtmltopd lib) that allows to do HTML2PDF reporting.\n" +"The module structure and some is inspired of the report_openoffice module\n" +"The module allows:\n" +" -HTML report definition\n" +" -Multi header support \n" +" -Multi logo\n" +" -Multi company support\n" +" -HTML and CSS-3 support (In the limit of the actual WebKIT version)\n" +" -JavaScript support \n" +" -Raw HTML debugger\n" +" -Book printing capabilities\n" +" -Margins definition \n" +" -Paper size definition\n" +"and munch more\n" +"\n" +"Many header are defined per company\n" +"Many logo are defined per company\n" +"CSS style, header and footer body are defined in the company\n" +"\n" +"The mapper library can be found here\n" +"http://code.google.com/p/wkhtmltopdf/\n" +"The libraries are included for Linux, Mac OS X i386 and Windows 32.\n" +"\n" +"A sample invoice report is defined in the report. \n" +"You have to create the print button by calling a wizard. For more details :\n" +" http://files.me.com/nbessi/06n92k.mov \n" +"\n" +"TODO :\n" +"JavaScript support activation deactivation\n" +"Collated and book format support\n" +"Zip return for separated PDF\n" +"Web client WYSIWYG\n" +" " + +#. module: c2c_webkit_invoice +#: help:ir.report_actions,add,print_button:0 +msgid "Add action to menu context in print button." +msgstr "Ajouter à l'action du menu contextuel dans le bouton d'impression." + +#. module: c2c_webkit_invoice +#: wizard_button:ir.report_actions,add,end:0 +msgid "_Cancel" +msgstr "_Cancel" + +#. module: c2c_webkit_invoice +#: model:ir.module.module,shortdesc:c2c_webkit_invoice.module_meta_information +msgid "webkit report" +msgstr "rapport webkit" + +#. module: c2c_webkit_invoice +#: wizard_field:ir.report_actions,add,open_action:0 +msgid "Open added action" +msgstr "Ouvrir ajouté action" + +#. module: c2c_webkit_invoice +#: wizard_button:ir.report_actions,add,process:0 +msgid "_Ok" +msgstr "_Ok" + +#. module: c2c_webkit_invoice +#: wizard_button:ir.report_actions,exist,end:0 +msgid "_Close" +msgstr "_Close" + + + +#. module: c2c_webkit_invoice +#: webkit:report.webkitaccount.invoice:0 +msgid "Invoice Date" +msgstr "Date de la facture" + +#. module: c2c_webkit_invoice +#: webkit:report.webkitaccount.invoice:0 +msgid "QTY" +msgstr "QTÉ" + +#. module: c2c_webkit_invoice +#: webkit:report.webkitaccount.invoice:0 +msgid "Unit Price" +msgstr "Prix unitaire" + +#. module: c2c_webkit_invoice +#: field:report.webkitaccount.invoice:0 +msgid "Unit of Measure" +msgstr "Unité de mesure" + +#. module: c2c_webkit_invoice +#: view:account.invoice:0 +#: field:account.invoice.line,invoice_line_tax_id:0 +#: model:ir.actions.act_window,name:account.action_tax_form +#: model:ir.ui.menu,name:account.menu_action_tax_form +#: model:ir.ui.menu,name:account.next_id_27 +msgid "Taxes" +msgstr "Impôts" + +#. module: c2c_webkit_invoice +#: webkit:report.webkitaccount.invoice:0 +msgid "Price" +msgstr "Prix" + +#. module: c2c_webkit_invoice +#: webkit:report.webkitaccount.invoice:0 +msgid "Tax Lines" +msgstr "Lignes de taxe" + +#. module: c2c_webkit_invoice +#: webkit:report.webkitaccount.invoice:0 +msgid "Amount" +msgstr "Montant" + +#. module: c2c_webkit_invoice +#: webkit:report.webkitaccount.invoice,:0 +msgid "Partner Ref." +msgstr "Réf. partenaire" + +#. module: c2c_webkit_invoice +#: webkit:report.webkitaccount.invoice:0 +msgid "Invoice Ref" +msgstr "Réf. Facture" + +#. module: c2c_webkit_invoice +#: field:account.invoice,amount_tax:0 +msgid "Total" +msgstr "Total" + + +#. module: c2c_webkit_invoice +#: field:account.invoice,name:0 +#: field:account.invoice.line,name:0 +msgid "Description" +msgstr "Description" + +#. module: c2c_webkit_invoice +#: view:account.invoice.line:0 +#: webkit:account.invoice.tax,invoice_id:0 +msgid "Invoice Line" +msgstr "Ligne de facture" + +#. module: c2c_webkit_invoice +#: field:account.analytic.line,product_id:0 +#: field:account.invoice.line,product_id:0 +#: field:account.move.line,product_id:0 +msgid "Product" +msgstr "Produit" + +#. module: c2c_webkit_invoice +#: field:account.invoice,name:0 +msgid "Document" +msgstr "Ref. document" + +#. module: c2c_webkit_invoice +#: webkit:account.invoice.line,discount:0 +msgid "Disc.(%)" +msgstr "Disc.(%)" + +#. module: c2c_webkit_invoice +#: model:account.account.type,name:account.account_type_tax +#: field:account.invoice,amount_tax:0 +#: field:account.move.line,account_tax_id:0 +msgid "Tax" +msgstr "Taxe" \ No newline at end of file diff --git a/addons/c2c_webkit_invoice/report/__init__.py b/addons/c2c_webkit_invoice/report/__init__.py new file mode 100644 index 00000000000..04cc14f1d80 --- /dev/null +++ b/addons/c2c_webkit_invoice/report/__init__.py @@ -0,0 +1,32 @@ + #-*- coding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2010 Camptocamp SA (http://www.camptocamp.com) +# All Right Reserved +# +# Author : Nicolas Bessi (Camptocamp) +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# 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 2 +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + +import report_webkit_html \ No newline at end of file diff --git a/addons/c2c_webkit_invoice/report/report_webkit_html.mako b/addons/c2c_webkit_invoice/report/report_webkit_html.mako new file mode 100644 index 00000000000..909e254fa40 --- /dev/null +++ b/addons/c2c_webkit_invoice/report/report_webkit_html.mako @@ -0,0 +1,83 @@ + + + + + + %for inv in objects : + <% setLang(inv.partner_id.lang) %> + + + + + + %if inv.address_invoice_id.country_id : + + %endif + %if inv.address_invoice_id.phone : + + %endif + %if inv.address_invoice_id.fax : + + %endif + %if inv.address_invoice_id.email : + + %endif + %if inv.partner_id.vat : + + %endif +
${inv.partner_id.title or ''|entity} ${inv.partner_id.name |entity}
${inv.address_invoice_id.street or ''|entity}
${inv.address_invoice_id.street2 or ''|entity}
${inv.address_invoice_id.zip or ''|entity} ${inv.address_invoice_id.city or ''|entity}
${inv.address_invoice_id.country_id.name or ''|entity}
${_("Tel")}: ${inv.address_invoice_id.phone|entity}
${_("Fax")}: ${inv.address_invoice_id.fax|entity}
${_("E-mail")}: ${inv.address_invoice_id.email|entity}
${_("VAT")}: ${inv.partner_id.vat|entity}
+
+ %if inv.type == 'out_invoice' : + ${_("Invoice")} ${inv.number or ''|entity} + %elif inv.type == 'in_invoice' : + ${_("Supplier Invoice")} ${inv.number or ''|entity} + %elif inv.type == 'out_refund' : + ${_("Refund")} ${inv.number or ''|entity} + %elif inv.type == 'in_refund' : + ${_("Supplier Refund")} ${inv.number or ''|entity} + %endif +
+
+ + + +
${_("Document")}${_("Invoice Date")}${_("Partner Ref.")}
${inv.name}${formatLang(inv.date_invoice, date=True)|entity} 
+


+ + + %for line in inv.invoice_line : + + + %if line.note : + + %endif + %endfor + + + + +
${_("Description")}${_("Taxes")}${_("QTY")}${_("Unit Price")}${_("Disc.(%)")}${_("Price")}
${line.name|entity}${ ', '.join([ tax.name or '' for tax in line.invoice_line_tax_id ])|entity}${line.quantity}${formatLang(line.price_unit)}${line.discount or 0.00}${formatLang(line.price_subtotal)}
${line.note |entity}
Net Total:${formatLang(inv.amount_untaxed)}
Taxes:${formatLang(inv.amount_tax)}
Total:${formatLang(inv.amount_total)}
+ + + + %if inv.tax_line : + %for t in inv.tax_line : + + + + + + %endfor + %endif + + + + +
Tax${_("Base")}${_("Amount")}
${ t.name|entity } ${ t.base|entity}${ formatLang(t.amount) }
+ ${_("Total")}${ formatLang(inv.amount_tax) }
+

+ %endfor + + \ No newline at end of file diff --git a/addons/c2c_webkit_invoice/report/report_webkit_html.py b/addons/c2c_webkit_invoice/report/report_webkit_html.py new file mode 100644 index 00000000000..4dbce2bd125 --- /dev/null +++ b/addons/c2c_webkit_invoice/report/report_webkit_html.py @@ -0,0 +1,17 @@ +import time +from report import report_sxw +from osv import osv + +class report_webkit_html(report_sxw.rml_parse): + def __init__(self, cr, uid, name, context): + super(report_webkit_html, self).__init__(cr, uid, name, context=context) + self.localcontext.update({ + 'time': time, + 'cr':cr, + 'uid': uid, + }) + +report_sxw.report_sxw('report.webkitaccount.invoice', + 'account.invoice', + 'addons/c2c_webkit_invoice/report/report_webkit_html.mako', + parser=report_webkit_html) diff --git a/addons/c2c_webkit_invoice/report_webkit_html_view.xml b/addons/c2c_webkit_invoice/report_webkit_html_view.xml new file mode 100644 index 00000000000..07c8a4c1258 --- /dev/null +++ b/addons/c2c_webkit_invoice/report_webkit_html_view.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/addons/c2c_webkit_invoice/wizard/__init__.py b/addons/c2c_webkit_invoice/wizard/__init__.py new file mode 100644 index 00000000000..3136f0ca685 --- /dev/null +++ b/addons/c2c_webkit_invoice/wizard/__init__.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2010 Camptocamp SA (http://www.camptocamp.com) +# All Right Reserved +# +# Author : Vincent Renaville +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# 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 2 +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + +import report_actions \ No newline at end of file diff --git a/addons/c2c_webkit_invoice/wizard/report_actions.py b/addons/c2c_webkit_invoice/wizard/report_actions.py new file mode 100644 index 00000000000..4eef447f4c2 --- /dev/null +++ b/addons/c2c_webkit_invoice/wizard/report_actions.py @@ -0,0 +1,177 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2010 Camptocamp SA (http://www.camptocamp.com) +# All Right Reserved +# +# Author : Vincent Renaville +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# 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 2 +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + +import wizard +import pooler +import ir +from tools.translate import _ + +class report_actions_wizard(wizard.interface): + ''' + Add Print Buttons + ''' + form = ''' +
+ + + ''' + + ex_form = ''' +
+