Author: |
XCG Consulting,ACSONE SA/NV,Odoo Community Association (OCA) |
License: |
AGPL-3 |
Branch: |
9.0-slg_master |
Repository: |
acsone/reporting-engine |
Dependencies: |
report_py3o |
Languages: |
Python (170, 76.6%),
and
XML (52, 23.4%) |
Other branches: |
10.0,
10.0-backport-report_csv-lmi,
10.0-brb_master,
12.0,
12.0-prg_master,
12.0-ref_report_py3o_python_3.9-mle,
12.0-report_substitute_generate_email-qgr,
13.0,
13.0-imp_report_qweb_signer_allowed_reports_tbi,
13.0-mig-report_py3o_multilang,
13.0-mig_report_substitute,
13.0-ref_report_py3o_python_3.11_tbi,
13.0-report_qweb_element_page_visibility,
13.0-slg_master,
14.0,
14.0-imp_report_qweb_signer_allowed_reports_tbi,
14.0-mig-report_py3o_fusion_server,
14.0-update-dotfiles-sbi,
9.0-report_py3o,
9.0-report_py3o_xls_tbi,
add-report_py3o_signer-lco,
and
imp-temp-remove-java-in-manifest-lco |
Other repositories: |
001101/reporting-engine,
AITIC/reporting-engine,
Aabcrow/reporting-engine,
AcruxLab/reporting-engine,
AdriaGForgeFlow/reporting-engine,
Ahmad-Hamouda/reporting-engine,
Alfa-90/reporting-engine,
AsierSV/reporting-engine,
Bubbles-IT/reporting-engine,
CB-Gran-Canaria/reporting-engine,
CGenie/reporting-engine,
CMR-tetra/reporting-engine,
Cayprol/reporting-engine,
Change2improve/reporting-engine,
ClancyQiao/reporting-engine,
ClearCorp/oca-reporting-engine,
ComitorDevTeam/reporting-engine,
Comunitea/reporting-engine,
DamonLiu0814/reporting-engine,
Darknroses/reporting-engine,
Digital5-Odoo/reporting-engine,
Dobtor-OCA/reporting-engine,
DudhatShivam/reporting-engine,
EBII/reporting-engine,
ERPLibre/reporting-engine,
EssentNovaTeam/reporting-engine,
Fitranugraha/reporting-engine,
ForgeFlow/reporting-engine,
Gabinete-Digital/reporting-engine,
Glue-Software-Engineering-AG/reporting-engine,
Gofekra/reporting-engine,
GrupoAlvamex/reporting-engine,
Guobower/reporting-engine,
Hamza-Talibi/reporting-engine,
HarshalBhoir/reporting-engine,
HomerDeoDatu/reporting-engine,
Infinityloopsistemas/reporting-engine,
Ingeos/reporting-engine,
Jarsa/reporting-engine,
Jeisonpernia/reporting-engine,
Kayuulab/reporting-engine,
KonosCL/reporting-engine,
LeGittan/reporting-engine,
Leuan12/reporting-engine,
Maartincm/reporting-engine,
MathBenTech/reporting-engine,
Mefistous/reporting-engine,
NachoAlesLopez/reporting-engine,
NeatNerdPrime/reporting-engine,
NextERP-Romania/reporting-engine,
Noviat/reporting-engine,
Nubeo-be/reporting-engine,
OCA-MUK/reporting-engine,
OCA/reporting-engine,
ORETEK/reporting-engine,
OpenCode/reporting-engine,
Palpid/reporting-engine,
PrenorSistemas/reporting-engine,
QubiQ/reporting-engine,
Rad0van/reporting-engine,
RealSolutionsLux/reporting-engine,
SHEFFIELDAFRICA/reporting-engine,
SanteLibre/reporting-engine,
Saran440/reporting-engine,
SequarSrl/reporting-engine,
SerpentConsultingServices/reporting-engine,
SeuMarco/reporting-engine,
ShakirMemon786/reporting-engine,
SimoRubi/reporting-engine,
SolutionSeekers/reporting-engine,
SportPursuit/reporting-engine,
StefanRijnhart/reporting-engine,
Studio73/reporting-engine,
Syci-Consulting/reporting-engine,
TRESCLOUD/reporting-engine,
Tatider/reporting-engine,
Tecnativa/reporting-engine,
Tonow-c2c/reporting-engine,
VanMoof/reporting-engine,
Vauxoo/reporting-engine,
VisiionSolucionesTecnologicas/reporting-engine,
VitalPet/reporting-engine,
WilldooIT/reporting-engine,
Zio-Overload/reporting-engine,
aaltinisik/reporting-engine,
abs44/reporting-engine,
adhoc-dev/oca-reporting-engine,
ajaychauhan727/reporting-engine,
ajinvn2019/reporting-engine,
akretion/reporting-engine,
akshayksolves/reporting-engine,
alesisjoan/reporting-engine,
alessavindell/reporting-engine,
algiopensource/reporting-engine,
allanaguilar/reporting-engine,
andhit-r/reporting-engine,
anhvu-sg/reporting-engine,
anos4444/reporting-engine,
apetbiz/reporting-engine,
aravinthu/reporting-engine,
aremili/reporting-engine,
atonaltzin/reporting-engine,
augustynr/reporting-engine,
aurestic/reporting-engine,
bacgdev/reporting-engine,
bacgroup/reporting-engine,
bishalgit/reporting-engine,
blooparksystems/reporting-engine,
bmya/reporting-engine-1,
brain-tec/reporting-engine,
budisentosa/reporting-engine,
camptocamp/reporting-engine,
cataclysmic/reporting-engine,
chenjingxiong/reporting-engine,
christophe-hanon/reporting-engine,
cogitoweb/reporting-engine,
coopiteasy/reporting-engine,
dani-xtendoo/reporting-engine,
daramousk/reporting-engine,
darshan-odoo/reporting-engine,
dcorio/reporting-engine,
ddico/reporting-engine,
detian08/reporting-engine,
diegobgl/reporting-engine,
dominiquekonsuntack/reporting-engine,
dong-z/reporting-engine,
druidoo-dev/reporting-engine,
dupski/reporting-engine,
ecosoft-odoo/reporting-engine,
eezee-it/reporting-engine,
elperrofarelo/reporting-engine,
enocare/reporting-engine,
exosoftware/oca-reporting-engine,
ezodoo/reporting-engine,
fabiomix/reporting-engine,
fateenvoy/reporting-engine,
fauzi-tsani/reporting-engine,
feriosvega/reporting-engine,
flachica/reporting-engine,
fmdl/reporting-engine,
fugui0310/reporting-engine,
gaanto/reporting-engine,
gastonfeng/reporting-engine,
gbertolani/reporting-engine,
germanponce/reporting-engine,
govorushagreat/reporting-engine,
goyugo/reporting-engine,
gurneyalex/reporting-engine,
hbrunn/reporting-engine,
henrycoding/reporting-engine,
hippe-67/reporting-engine,
hisyam44/reporting-engine,
hmrodrigues/reporting-engine,
holgedchen/reporting-engine,
ifadhf/reporting-engine,
ilyasProgrammer/reporting-engine,
initOS/reporting-engine,
izzihector/reporting-engine,
j209/reporting-engine,
jacky82669513/reporting-engine,
jaferrer/reporting-engine,
jarroyomorales/reporting-engine,
jason156/reporting-engine,
jesusVMayor/reporting-engine,
jffernandez/reporting-engine,
jlzhou/reporting-engine,
jnaudon/reporting-engine,
johnbendi/reporting-engine,
julenalgios/reporting-engine,
kenzey0man/reporting-engine,
kevin070982/reporting-engine,
khaeusler/reporting-engine,
kittiu/reporting-engine,
kmee/reporting-engine,
kongrattapong/reporting-engine,
kos94ok-3D/reporting-engine,
lbvisperas/reporting-engine,
legalsylvain/reporting-engine,
leonidasthe300/reporting-engine,
lideritjnma/reporting-engine,
limingsichuan/reporting-engine,
lintoct/reporting-engine,
luc-demeyer/reporting-engine,
lweiming/reporting-engine,
maherjaballi/reporting-engine,
max1314/reporting-engine,
michaelgg84/reporting-engine,
minhhq09/reporting-engine,
mivilsoft/reporting-engine,
mjavint/reporting-engine,
modoolar/reporting-engine,
mohamed-helmy/reporting-engine,
multidadosti-erp/reporting-engine,
myceliandre/reporting-engine,
myonnet/oca-reporting-engine,
nabima/reporting-engine,
nicolasjelincic/reporting-engine,
niulinlnc/reporting-engine,
njeudy/reporting-engine,
nucleoosystem/reporting-engine,
odof/reporting-engine,
odoonz/reporting-engine,
one2pret/reporting-engine,
onesteinbv/reporting-engine,
onurugur/reporting-engine,
oondeo/reporting-engine,
ovnicraft/reporting-engine,
p-tombez/reporting-engine,
pasgou/reporting-engine,
paulvermeulen/reporting-engine,
piensom/reporting-engine,
pnajman-modoolar/reporting-engine,
popcomputadores-desenv/reporting-engine,
praxigento/oca-reporting-engine,
ps-tubtim/reporting-engine,
pscloud/reporting-engine,
pythoner-3k/reporting-engine,
rachmataditiya/reporting-engine,
robertsvx27/reporting-engine,
robin5210/reporting-engine,
royalline1/reporting-engine-1,
rrgaona/reporting-engine,
rsullivan2704/reporting-engine,
ruben-tonetto/reporting-engine,
rwsdigital/reporting-engine,
sacodoo/reporting-engine,
sacostaylara/reporting-engine,
saif-serpentcs/reporting-engine,
samnimri/reporting-engine,
sandreanybox/reporting-engine,
sansirit/reporting-engine,
sanube/reporting-engine,
schout-it/reporting-engine,
sekhsokh/reporting-engine,
sendalpegat/reporting-engine,
sergiocorato/reporting-engine,
sewisoft/reporting-engine,
sgheller/reporting-engine,
shiftctrl-io/reporting-engine,
simahawk/reporting-engine,
soeethiha/reporting-engine,
solvosci/reporting-engine,
somiderventa/reporting-engine,
songpon/reporting-engine,
steingabelgaard/reporting-engine,
sunflowerit/reporting-engine,
superkaja/reporting-engine,
suwatuanp/reporting-engine,
syci/reporting-engine,
takinobori/oca-reporting-engine,
tbaden/reporting-engine,
tegin/reporting-engine,
thandokazi/reporting-engine,
thomaspot/reporting-engine,
tirma-sa/reporting-engine,
trobz/reporting-engine,
tsengel2/reporting-engine,
unitek-solusi/OCA-reporting-engine,
ursais/reporting-engine,
valmarnet/reporting-engine,
vdedyukhin/reporting-engine,
versada/reporting-engine,
vikichavada/reporting-engine,
wahello/reporting-engine,
wuhuizhong/reporting-engine,
xcgd/reporting-engine,
xhair/reporting-engine,
xwh123807/reporting-engine,
yelizariev/reporting-engine,
ygdmxy/reporting-engine,
zarumaru/reporting-engine,
zeroincombenze/reporting-engine,
zhaohuaw/reporting-engine,
and
zohaibrehman/reporting-engine |
<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg">
</a>
<a name="py3o-report-engine-fusion-server-support"></a>
<h2>Py3o Report Engine - Fusion server support</h2>
<p>This module was written to let a py3o fusion server handle format conversion instead of local libreoffice.</p>
<a name="installation"></a>
<h3>Installation</h3>
<p>Install several additional components and Python libs:</p>
<ul class="simple">
<li><a class="reference external" href="https://bitbucket.org/faide/py3o.fusion">Py3o Fusion server</a>,</li>
<li><a class="reference external" href="https://bitbucket.org/faide/py3o.renderserver">Py3o render server</a>,</li>
<li>a Java Runtime Environment (JRE), which can be OpenJDK,</li>
<li>Libreoffice started in the background in headless mode,</li>
<li>the Java driver for Libreoffice (Juno).</li>
</ul>
<p>It is also possible to use the Python driver for Libreoffice (PyUNO), but it is recommended to use the Java driver because it is more stable.</p>
<p>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.</p>
<p>Installation of py3o.fusion:</p>
<pre class="code">
<code class="code">pip install py3o.fusion
pip install service-identity</code>
</pre>
<p>Installation of py3o.renderserver:</p>
<pre class="code">
<code class="code">pip install py3o.renderserver</code>
</pre>
<p>Installation of Libreoffice and JRE on Debian/Ubuntu:</p>
<pre class="code">
<code class="code">sudo apt-get install default-jre ure libreoffice-java-common libreoffice-writer</code>
</pre>
<p>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:</p>
<pre class="code">
<code class="code">sudo apt-get install fonts-symbola</code>
</pre>
<p>At the end, with the dependencies, you should have the following py3o python libs:</p>
<pre class="code">
<code class="code">% pip freeze | grep py3o
py3o.formats==0.3
py3o.fusion==0.8.7
py3o.renderclient==0.2
py3o.renderers.juno==0.8
py3o.renderserver==0.5.1
py3o.template==0.9.11
py3o.types==0.1.1</code>
</pre>
<p>Start the Py3o Fusion server:</p>
<pre class="code">
<code class="code">start-py3o-fusion --debug -s localhost</code>
</pre>
<p>Start the Py3o render server:</p>
<pre class="code">
<code class="code">start-py3o-renderserver --java=/usr/lib/jvm/default-java/jre/lib/amd64/server/libjvm.so --ure=/usr/share --office=/usr/lib/libreoffice --driver=juno --sofficeport=8997</code>
</pre>
<p>On the output of the Py3o render server, the first line looks like:</p>
<pre class="code">
<code class="code">DEBUG:root:Starting JVM: /usr/lib/jvm/default-java/jre/lib/amd64/server/libjvm.so with options: -Djava.class.path=/usr/local/lib/python2.7/dist-packages/py3o/renderers/juno/py3oconverter.jar:/usr/share/java/juh.jar:/usr/share/java/jurt.jar:/usr/share/java/ridl.jar:/usr/share/java/unoloader.jar:/usr/share/java/java_uno.jar:/usr/lib/libreoffice/program/classes/unoil.jar -Xmx150M</code>
</pre>
<p>After <strong>-Djava.class.path</strong>, there is a list of Java libs with <em>.jar</em> extension ; check that each JAR file is really present on your filesystem. If one of the jar files is present in another directory, create a symlink that points to the real location of the file. If all the jar files are present on another directory, adapt the <em>--ure=</em> argument on the command line of Py3o render server.</p>
<p>To check that the Py3o Fusion server is running fine, visit the URL <a class="reference external" href="http:/">http:/</a>/<IP_address>:8765/form. On this web page, under the section <em>Target format</em>, make sure that you have a line <em>This server currently supports these formats: ods, odt, docx, doc, html, docbook, pdf, xls.</em>.</p>
<a name="known-issues-roadmap"></a>
<h3>Known issues / Roadmap</h3>
<ul class="simple">
<li>none yet</li>
</ul>
<a name="bug-tracker"></a>
<h3>Bug Tracker</h3>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/reporting-engine/issues">GitHub Issues</a>. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.</p>
<a name="credits"></a>
<h3>Credits</h3>
<a name="contributors"></a>
<h4>Contributors</h4>
<ul class="simple">
<li>Florent Aide (<a class="reference external" href="http://odoo.consulting/">XCG Consulting</a>)</li>
<li>Laurent Mignon <<a class="reference external" href="mailto:laurent.mignon@acsone.eu">laurent.mignon@acsone.eu</a>>,</li>
<li>Alexis de Lattre <<a class="reference external" href="mailto:alexis.delattre@akretion.com">alexis.delattre@akretion.com</a>>,</li>
<li>Guewen Baconnier <<a class="reference external" href="mailto:guewen.baconnier@camptocamp.com">guewen.baconnier@camptocamp.com</a>></li>
<li>Omar CastiƱeira <<a class="reference external" href="mailto:omar@comunitea.com">omar@comunitea.com</a>></li>
<li>Holger Brunn <<a class="reference external" href="mailto:hbrunn@therp.nl">hbrunn@therp.nl</a>></li>
</ul>
<p>Do not contact contributors directly about help with questions or problems concerning this addon, but use the <a class="reference external" href="mailto:community@mail.odoo.com">community mailing list</a> or the <a class="reference external" href="https://odoo-community.org/groups">appropriate specialized mailinglist</a> for help, and the bug tracker linked in <a class="reference internal" href="#bug-tracker">Bug Tracker</a> above for technical issues.</p>
<a name="maintainer"></a>
<h4>Maintainer</h4>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>This module is maintained by the OCA.</p>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>