Small usability improvements

Replace README.md by README.rst (not finished)
This commit is contained in:
Alexis de Lattre
2016-10-04 22:30:16 +02:00
committed by Elmeri Niemelä
parent 67d5ac030f
commit 46f901bbb0
10 changed files with 130 additions and 57 deletions

View File

@@ -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")

View File

@@ -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)

View File

@@ -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"),