mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[IMP] report_py3o, report_py3o_fusion_server: black, isort
This commit is contained in:
committed by
Elmeri Niemelä
parent
1370625b24
commit
0bf0160d2d
@@ -4,20 +4,21 @@ from odoo import fields, models
|
||||
|
||||
|
||||
class Py3oTemplate(models.Model):
|
||||
_name = 'py3o.template'
|
||||
_description = 'Py3o template'
|
||||
_name = "py3o.template"
|
||||
_description = "Py3o template"
|
||||
|
||||
name = fields.Char(required=True)
|
||||
py3o_template_data = fields.Binary("LibreOffice Template")
|
||||
filetype = fields.Selection(
|
||||
selection=[
|
||||
('odt', "ODF Text Document"),
|
||||
('ods', "ODF Spreadsheet"),
|
||||
('odp', "ODF Presentation"),
|
||||
('fodt', "ODF Text Document (Flat)"),
|
||||
('fods', "ODF Spreadsheet (Flat)"),
|
||||
('fodp', "ODF Presentation (Flat)"),
|
||||
("odt", "ODF Text Document"),
|
||||
("ods", "ODF Spreadsheet"),
|
||||
("odp", "ODF Presentation"),
|
||||
("fodt", "ODF Text Document (Flat)"),
|
||||
("fods", "ODF Spreadsheet (Flat)"),
|
||||
("fodp", "ODF Presentation (Flat)"),
|
||||
],
|
||||
string="LibreOffice Template File Type",
|
||||
required=True,
|
||||
default='odt')
|
||||
default="odt",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user