Move to report_py3o after import from HG

This commit is contained in:
Laurent Mignon
2016-10-03 17:50:09 +02:00
committed by Elmeri Niemelä
parent f6845422ac
commit 75ab2d3809
19 changed files with 1593 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
from openerp.osv import fields, osv
class py3o_template(osv.Model):
_name = 'py3o.template'
_columns = {
'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",
required=True,
),
}
_defaults = {
'filetype': 'odt'
}