Commit Graph

20 Commits (60b69e56e9dffafa0a1d0c6abe4b791b9c689c01)

Author SHA1 Message Date
Laurent Mignon (ACSONE) e644a32572 [IMP] report_py3o, report_py3o_fusion_server: black, isort 2019-11-19 14:36:37 +01:00
Laurent Mignon (ACSONE) 68da7235c2 [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.
2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) 00b3ec1afa [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
2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) bff9e485bb [IMP] report_py3o: remove obsolete methods 2019-11-19 14:23:48 +01:00
Gilles Meyomesse 25896130b1 [12.0][MIG] improvement py3o_report_extender 2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) e5382823b0 [MIG] report_py3o, report_py3o_fusion_server: Migration to 12.0 2019-11-19 14:23:48 +01:00
jesusVMayor 9ed8257f31 [FIX]report_py3o: Escape correctly html characters. 2019-11-19 14:23:48 +01:00
Holger Brunn a6d23298b2 [RFR] split off the fusion server to its own module
use libreoffice for conversions in the base version. Fixes #179
2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) 4730c9fe53 [FIX] report_py3o: must return the path to the report
refs #119
2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) ab7c0b4f36 [IMP] report_py3o: prevent injections when retrieving the template from path 2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) 9b3aef021c [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
2019-11-19 14:23:48 +01:00
Laurent Mignon b0fe0b14f4 [IMP] Minimizes memory consumption
Conflicts:
	report_py3o/models/py3o_report.py
2019-11-19 14:23:48 +01:00
Laurent Mignon 990e66123a [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
2019-11-19 14:23:48 +01:00
Alexis de Lattre 36a3e8b20b FIX Adapt test suite to my recent commit to avoid double dot on filename extension 2019-11-19 14:23:48 +01:00
Alexis de Lattre ebe80d514b Port report_py3o to Odoo v10 2019-11-19 14:23:48 +01:00
Laurent Mignon d8d652e9d8 Add more tests and fixes issues found by tests 2019-11-19 14:23:48 +01:00
Laurent Mignon 5017b759fa rename module ir_report to ir_actions_report_xml 2019-11-19 14:23:48 +01:00
Laurent Mignon ef81ba21cf Improve tests 2019-11-19 14:23:48 +01:00
Laurent Mignon 2d99e760c2 Fix skip fusion on server when the fusion is local 2019-11-19 14:23:48 +01:00
Laurent Mignon 22bff734d7 Add simple tests and fix call to fusion server 2019-11-19 14:23:48 +01:00