Browse Source

report_py3o_fusion_server: Update README.rst

Fix string
pull/258/head
Alexis de Lattre 7 years ago
committed by Laurent Mignon (ACSONE)
parent
commit
0836addc1d
  1. 29
      report_py3o_fusion_server/README.rst
  2. 2
      report_py3o_fusion_server/models/py3o_pdf_options.py

29
report_py3o_fusion_server/README.rst

@ -8,12 +8,13 @@ Py3o Report Engine - Fusion server support
This module was written to let a py3o fusion server handle format conversion instead of local libreoffice. If you install this module above the *report_py3o* module, you will have to deploy additionnal software components and run 3 daemons (libreoffice, py3o.fusion and py3o.renderserver). This additionnal complexiy comes with several advantages:
* much better performances (libreoffice runs permanently in the background, no need to spawn a new libreoffice instance upon every document conversion).
* ability to configure PDF export options in Odoo. This will allow you to generate:
* much better performances (Libreoffice runs permanently in the background, no need to spawn a new Libreoffice instance upon every document conversion).
* ability to configure PDF export options in Odoo. This brings many new possibilities such as the ability to generate:
* PDF forms
* password-protected PDF documents
* PDF/A documents (required by some electronic invoicing standards such as Factur-X)
* PDF/A documents (required by some electronic invoicing standards such as `Factur-X <http://fnfe-mpe.org/factur-x/>`_)
* watermarked PDF documents
* password-protected PDF documents
Installation
============
@ -30,30 +31,30 @@ It is also possible to use the Python driver for Libreoffice (PyUNO), but it is
The installation procedure below uses the Java driver. It has been successfully tested on Ubuntu 16.04 LTS ; if you use another OS, you may have to change a few details.
Installation of py3o.fusion:
Installation of Libreoffice, JRE and required Java libs on Debian/Ubuntu:
.. code::
pip install py3o.fusion
pip install service-identity
sudo apt-get install default-jre ure libgoogle-gson-java libreoffice-java-common libreoffice-writer
Installation of py3o.renderserver:
You may have to install additionnal fonts. For example, to have the special unicode symbols for phone/fax/email in the PDF reports generated by Py3o, you should install the following package:
.. code::
pip install py3o.renderserver
sudo apt-get install fonts-symbola
Installation of Libreoffice and JRE on Debian/Ubuntu:
Installation of py3o.fusion:
.. code::
sudo apt-get install default-jre ure libreoffice-java-common libreoffice-writer
pip install py3o.fusion
pip install service-identity
You may have to install additionnal fonts. For example, to have the special unicode symbols for phone/fax/email in the PDF reports generated by Py3o, you should install the following package:
Installation of py3o.renderserver:
.. code::
sudo apt-get install fonts-symbola
pip install py3o.renderserver
At the end, with the dependencies, you should have the following py3o python libs:
@ -93,7 +94,7 @@ To check that the Py3o Fusion server is running fine, visit the URL http://<IP_a
Known issues / Roadmap
======================
* none yet
* Add support for PDF signatures (possible, but no easy because the signature certificate is a very particular PDF export option)
Bug Tracker
===========

2
report_py3o_fusion_server/models/py3o_pdf_options.py

@ -71,7 +71,7 @@ class Py3oPdfOptions(models.Model):
initial_view = fields.Selection([
('0', 'Page Only'),
('1', 'Bookmarks and Page'),
('2', 'Thumnails and Page'),
('2', 'Thumbnails and Page'),
], string='Panes', default='0')
# InitialPage (int)
initial_page = fields.Integer(string='Initial Page', default=1)

Loading…
Cancel
Save