mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
Restore direct rendering for native ODT output formats
--HG-- branch : odoo8
This commit is contained in:
@@ -8,7 +8,20 @@ class py3o_template(osv.Model):
|
||||
'name': fields.char(
|
||||
u"Name",
|
||||
),
|
||||
|
||||
'py3o_template_data': fields.binary(
|
||||
u"LibreOffice template",
|
||||
),
|
||||
|
||||
'filetype': fields.selection(
|
||||
[
|
||||
('odt', u"ODF Text Document"),
|
||||
('ods', u"ODF Spreadsheet"),
|
||||
],
|
||||
u"LibreOffice Template File Type",
|
||||
),
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
'filetype': 'odt'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user