Commit Graph

23 Commits (b5614c71175a9760b4d25f8444941588f70c936b)

Author SHA1 Message Date
Denis Leemann dcfd5c1ec4 run pre-commit 2021-11-23 15:56:02 +01:00
Elmeri Niemelä c2db522568 [MIG] Use safe_eval wrapped time module. Fix deprecation warnings.
Co-authored-by: Alexis de Lattre <alexis.delattre@akretion.com>
2021-02-02 08:20:17 +02:00
Elmeri Niemelä bee9ce47be [14.0][MIG] report_py3o: Migration to 14.0 2020-10-21 19:17:39 +03:00
Laurent Mignon (ACSONE) 0bf0160d2d [IMP] report_py3o, report_py3o_fusion_server: black, isort 2020-10-21 19:13:33 +03:00
Laurent Mignon (ACSONE) 6f6cf5688b [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.
2020-10-21 19:13:33 +03:00
Laurent Mignon (ACSONE) ac6e75c7b4 [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
2020-10-21 19:13:33 +03:00
Laurent Mignon (ACSONE) bb36779e88 [IMP] report_py3o: remove obsolete methods 2020-10-21 19:13:33 +03:00
Gilles Meyomesse 71a532f21b [12.0][MIG] improvement py3o_report_extender 2020-10-21 19:13:32 +03:00
Laurent Mignon (ACSONE) e65b6db22f [MIG] report_py3o, report_py3o_fusion_server: Migration to 12.0 2020-10-21 19:13:32 +03:00
jesusVMayor a89aa2a2f9 [FIX]report_py3o: Escape correctly html characters. 2020-10-21 19:13:32 +03:00
Holger Brunn 0a706a660f [RFR] split off the fusion server to its own module
use libreoffice for conversions in the base version. Fixes #179
2020-10-21 19:13:32 +03:00
Laurent Mignon (ACSONE) 7f6c8129e5 [FIX] report_py3o: must return the path to the report
refs #119
2020-10-21 19:13:32 +03:00
Laurent Mignon (ACSONE) 4e96f362f0 [IMP] report_py3o: prevent injections when retrieving the template from path 2020-10-21 19:13:32 +03:00
Laurent Mignon (ACSONE) d29a3b3a8d [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
2020-10-21 19:13:32 +03:00
Laurent Mignon 714ea78ce8 [IMP] Minimizes memory consumption
Conflicts:
	report_py3o/models/py3o_report.py
2020-10-21 19:13:32 +03:00
Laurent Mignon 1871d9829d [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
2020-10-21 19:13:32 +03:00
Alexis de Lattre a3cfe88b7c FIX Adapt test suite to my recent commit to avoid double dot on filename extension 2020-10-21 19:13:32 +03:00
Alexis de Lattre 9c30326a49 Port report_py3o to Odoo v10 2020-10-21 19:13:32 +03:00
Laurent Mignon ac39d060e4 Add more tests and fixes issues found by tests 2020-10-21 19:13:32 +03:00
Laurent Mignon 8c279cadcf rename module ir_report to ir_actions_report_xml 2020-10-21 19:13:32 +03:00
Laurent Mignon bac8750461 Improve tests 2020-10-21 19:13:32 +03:00
Laurent Mignon 7285c99802 Fix skip fusion on server when the fusion is local 2020-10-21 19:13:32 +03:00
Laurent Mignon 94df910703 Add simple tests and fix call to fusion server 2020-10-21 19:13:32 +03:00