@ -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:
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
* 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
* watermarked PDF documents
* password-protected PDF documents
Installation
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.
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:
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::
..code::
pip install py3o.renderserver
sudo apt-get install fonts-symbola
Installation of Libreoffice and JRE on Debian/Ubuntu:
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::
..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:
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
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)