report_py3o_fusion_server: Add support for PDF Export options of libreoffice

This commit is contained in:
Alexis de Lattre
2018-04-25 01:20:54 +02:00
parent 3e6296d5ee
commit 1f05beb7e7
13 changed files with 515 additions and 5 deletions

View File

@@ -13,3 +13,7 @@ class Py3oServer(models.Model):
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)
pdf_options_id = fields.Many2one(
'py3o.pdf.options', string='PDF Options', ondelete='restrict',
help="PDF options can be set per Py3o Server but also per report. "
"If both are defined, the options on the report are used.")