mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
Small usability improvements
Replace README.md by README.rst (not finished)
This commit is contained in:
committed by
Elmeri Niemelä
parent
67d5ac030f
commit
46f901bbb0
@@ -55,14 +55,14 @@ class ReportXml(models.Model):
|
||||
'py3o.template',
|
||||
"Template")
|
||||
py3o_is_local_fusion = fields.Boolean(
|
||||
"Local fusion",
|
||||
"Local Fusion",
|
||||
help="Native formats will be processed without a server. "
|
||||
"You must use this mode if you call methods on your model into "
|
||||
"the template.",
|
||||
default=True)
|
||||
py3o_server_id = fields.Many2one(
|
||||
"py3o.server",
|
||||
"Fusion server")
|
||||
"Fusion Server")
|
||||
module = fields.Char(
|
||||
"Module",
|
||||
help="The implementer module that provides this report")
|
||||
|
||||
@@ -6,6 +6,10 @@ from openerp import fields, models
|
||||
|
||||
class Py3oServer(models.Model):
|
||||
_name = 'py3o.server'
|
||||
_rec_name = 'url'
|
||||
|
||||
url = fields.Char("URL", required=True)
|
||||
url = fields.Char(
|
||||
"Py3o Fusion Server URL", required=True,
|
||||
help="If your Py3o Fusion server is on the same machine and runs "
|
||||
"on the default port, the URL is http://localhost:8765/form")
|
||||
is_active = fields.Boolean("Active", default=True)
|
||||
|
||||
@@ -8,7 +8,7 @@ class Py3oTemplate(models.Model):
|
||||
_name = 'py3o.template'
|
||||
|
||||
name = fields.Char(required=True)
|
||||
py3o_template_data = fields.Binary("LibreOffice template")
|
||||
py3o_template_data = fields.Binary("LibreOffice Template")
|
||||
filetype = fields.Selection(
|
||||
selection=[
|
||||
('odt', "ODF Text Document"),
|
||||
|
||||
Reference in New Issue
Block a user