-
-
Notifications
You must be signed in to change notification settings - Fork 863
[16.0][revolution] report_py3o_fusion_server: connect to libreoffice directly + improve watermarking #1063
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 16.0
Are you sure you want to change the base?
[16.0][revolution] report_py3o_fusion_server: connect to libreoffice directly + improve watermarking #1063
Conversation
This is a completely new implementation where Odoo connects directly to libreoffice without any intermediary (no more py3o.fusion nor py3o render server). Odoo connects to libreoffice by UNO. The installation procedure has been updated in the README.
b59a933 to
2c35af7
Compare
2c35af7 to
45c1d58
Compare
|
=== OUTDATED... see my new ideas in the next comment ===
|
|
I continued to investigate the different options and think about the future architecture of the modules report_py3o*. So I suggest the following for the future (Odoo v19+):
I always run libreoffice locally on my Odoo servers, so I don't need report_py3o_unoserver myself, but I'm ready to help on the development of report_py3o_unoserver if some community members are interested by this solution. I would be ready to work on report_py3o and report_py3o_unoserver during the next code sprint in Liège on September 15-17th 2025. |
|
@JasminSForgeFlow @JordiMForgeFlow As the author of the v18 migration of report_py3o_fusion_server, your opinion on my proposal to restructure report_py3o would be very welcomed. |
|
@alexis-via we have honestly worked very little with the py3o modules, but the cases we have seen have also been with libreoffice running locally. From what you comment I think the roadmap makes sense, but I am not sure about the effects for installations running it on another server. |


This is a completely new implementation where Odoo connects directly to libreoffice without any intermediary (no more py3o.fusion nor py3o render server). Odoo connects to libreoffice via the UNO python lib.
The installation procedure has been updated in the README.
It's kind of wired to update the module report_py3o_fusion_server to remove support for fusion server ! But we really need a path to move away from py3o fusion and py3o render server that still use python2. And the easiest path is to update the module that is currently installed. Maybe we could rename this module in v19...
Another possibility would be to implement this directly in report_py3o...
For the moment, the priority is to check that this code works well in production. We can discuss the module structure later.
At the moment, it only works with a local libreoffice daemon. So far, I haven't found a way to make it work with a remote libreoffice daemon (but I didn't investigate that in depth).