Commit Graph

24 Commits (05e3e7a8861e418cdbd2af10ead770cc6296d08c)

Author SHA1 Message Date
Tran Thanh Phuc 115559802e [MIG] report_py3o: Migration to 15.0 2023-03-24 13:49:46 +01:00
Denis Leemann 5a07dc1b5e run pre-commit 2023-03-24 13:41:50 +01:00
Elmeri Niemelä f52515edb5 [MIG] Use safe_eval wrapped time module. Fix deprecation warnings.
Co-authored-by: Alexis de Lattre <alexis.delattre@akretion.com>
2023-03-24 13:41:50 +01:00
Elmeri Niemelä 7427562141 [14.0][MIG] report_py3o: Migration to 14.0 2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE) 9c04807e1e [IMP] report_py3o, report_py3o_fusion_server: black, isort 2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE) 377ec32b70 [IMP][FIX] py3o_report, py3o_report_fusion_server: Compute the availability of py3o report
Before this change it was not possible to install modules declaring py3o report into a non native format without specifying a Fusion server once the module py3o_report_fusion_server was installed. With theses changes, we now take care of the availability of the libreoffice runtime to display/log a warning message when the report is in a non native runtime.
2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE) 80406c89b4 [FIX] report_py3o: Add missing method _merge_pdf.
This method was previously provided by Odoo and is used to merge all the reports generated if the generation is called for more than one record
2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE) 626aeb2ec1 [IMP] report_py3o: remove obsolete methods 2023-03-24 13:41:49 +01:00
Gilles Meyomesse e836c851df [12.0][MIG] improvement py3o_report_extender 2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE) 88e53b3ccd [MIG] report_py3o, report_py3o_fusion_server: Migration to 12.0 2023-03-24 13:41:49 +01:00
jesusVMayor 74c0c6429d [FIX]report_py3o: Escape correctly html characters. 2023-03-24 13:41:49 +01:00
Holger Brunn 61e3909603 [RFR] split off the fusion server to its own module
use libreoffice for conversions in the base version. Fixes #179
2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE) 8a5f6bb2f4 [FIX] report_py3o: must return the path to the report
refs #119
2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE) a0240b0b53 [IMP] report_py3o: prevent injections when retrieving the template from path 2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE) daae2220ac [FIX] report_py3o: fix exception when report must be saved as attachement
The mehtod  must be called with a list of ids not with a list of browse records
2023-03-24 13:41:49 +01:00
Laurent Mignon b4737a131f [IMP] Minimizes memory consumption
Conflicts:
	report_py3o/models/py3o_report.py
2023-03-24 13:41:49 +01:00
Laurent Mignon 8a55bdfae7 [IMP] Replace old style parser by TransientModel
The goal is to improve the modularity by making the parser a true inheritable odoo model and share part of the code with the 'report' model

Conflicts:
	report_py3o/models/ir_actions_report_xml.py
	report_py3o/models/py3o_report.py
	report_py3o/tests/test_report_py3o.py
2023-03-24 13:41:49 +01:00
Alexis de Lattre 6bd7ad1809 FIX Adapt test suite to my recent commit to avoid double dot on filename extension 2023-03-24 13:41:49 +01:00
Alexis de Lattre a6ecaf2a46 Port report_py3o to Odoo v10 2023-03-24 13:41:49 +01:00
Laurent Mignon 50037e8cbb Add more tests and fixes issues found by tests 2023-03-24 13:41:49 +01:00
Laurent Mignon a205c00413 rename module ir_report to ir_actions_report_xml 2023-03-24 13:41:49 +01:00
Laurent Mignon bf0906c95e Improve tests 2023-03-24 13:41:49 +01:00
Laurent Mignon 54a410adde Fix skip fusion on server when the fusion is local 2023-03-24 13:41:49 +01:00
Laurent Mignon 0f5bc2a8f1 Add simple tests and fix call to fusion server 2023-03-24 13:41:49 +01:00