Browse Source

Odoo 8 fixes

--HG--
branch : odoo8
pull/80/head
Anael Lorimier 10 years ago
parent
commit
b54dd2b965
  1. 18
      ir_report.py
  2. 2
      menu.xml

18
ir_report.py

@ -18,4 +18,22 @@ class report_xml(osv.Model):
'py3o.template',
u"Template",
),
'report_type': fields.selection(
[
('qweb-pdf', u"PDF"),
('qweb-html', u"HTML"),
('controller', u"Controller"),
('pdf', u"RML pdf (deprecated)"),
('sxw', u"RML sxw (deprecated)"),
('webkit', u"Webkit (deprecated)"),
('py3o', u"Py3o"),
],
string=u"Report Type",
required=True,
help=u"HTML will open the report directly in your browser, "
u"PDF will use wkhtmltopdf to render the HTML into a PDF "
u"file and let you download it, Controller allows you to "
u"define the url of a custom controller outputting "
u"any kind of report.",
)
}

2
menu.xml

@ -3,6 +3,6 @@
<data>
<menuitem id="py3o_config_menu"
name="Py3o Configuration"
parent="base.menu_config" />
parent="base.menu_custom" />
</data>
</openerp>
Loading…
Cancel
Save