Commit Graph

89 Commits (c1b05e798bbf0045e97e6e4f159a2fc0519c164e)

Author SHA1 Message Date
Stéphane Bidoul (ACSONE) c1b05e798b [FIX] report_py3o readme structure 2023-03-24 13:41:50 +01:00
Alexis de Lattre b4cc1bda26 Update README for report_py3o and report_py3o_fusion_server (#306)
* Update README for report_py3o and report_py3o_fusion_server

Convert README to the new readme subdirectory
2023-03-24 13:41:50 +01:00
OCA Transbot 2e196663db Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-12.0/reporting-engine-12.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_py3o/
2023-03-24 13:41:50 +01:00
oca-travis eebcc47ef4 [UPD] Update report_py3o.pot 2023-03-24 13:41:50 +01:00
OCA Transbot 3db79c092b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-12.0/reporting-engine-12.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_py3o/
2023-03-24 13:41:50 +01:00
oca-travis da1a8a8233 [UPD] Update report_py3o.pot 2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE) 1ea9e51d4f [FIX] report_py3o: Access to ir.config_parameter with sudo 2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE) c589c08ec4 [IMP] py3o_report: Allow to specify the lang when calling o_format_lang
lang_code is already supported by o_format_date
2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE) 1a10a92c4d [FIX] report_py3o: Add missing 'user' and 'lang' into the parser context 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) 407c3c0282 [IMP] report_py3o: Document new methods available into the parser context 2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE) 626aeb2ec1 [IMP] report_py3o: remove obsolete methods 2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE) bfe2127b1b [FIX] report_py3o: Use the right naming convention for the render method
To determine the method to use to render a recport according to its type, the generic method 'render' defined into ir.action.report check if a method name  is defined on the model. https://github.com/odoo/odoo/blob/12.0/odoo/addons/base/models/ir_actions_report.py#L734
Therefore, we must provide this method to be compliant with what's expected by Odoo.
This change will also allows the usage of py3o template with mail_template once https://github.com/odoo/odoo/pull/30013 will be merged
2023-03-24 13:41:49 +01:00
sbejaoui 0637e26df5 Update i18n 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) 88463b0d24 [IMP] report_py2o: cleanup js 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
Christophe CHAUVET 7c13b42ef0 Translated using Weblate (Français)
Currently translated at 100,0% (38 of 38 strings)

Translation: reporting-engine-10.0/reporting-engine-10.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-10-0/reporting-engine-10-0-report_py3o/fr/
2023-03-24 13:41:49 +01:00
oca-travis cda7682fc6 [UPD] Update report_py3o.pot 2023-03-24 13:41:49 +01:00
Alexis de Lattre a5d034c645 report_py3o_fusion_server: Add support for PDF Export options of libreoffice 2023-03-24 13:41:49 +01:00
Stéphane Bidoul (ACSONE) cf02c10ac5 report_py3o: mention formatLang in README 2023-03-24 13:41:49 +01:00
Simone Rubino b5e0087ce0 [FIX] If this is not a py3o report, do nothing at all. In some cases the UI remains blocked otherwise 2023-03-24 13:41:49 +01:00
Holger Brunn 8308147795 [IMP] check for template data, not for the id 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
Pedro M. Baeza bb4bf7608e [FIX] report_py3o: Bump version number 2023-03-24 13:41:49 +01:00
Holger Brunn 50f903086e [FIX] fallback to libreoffice conversion when no server is configured
fixes #200
2023-03-24 13:41:49 +01:00
OCA Transbot 732b2b5843 OCA Transbot updated translations from Transifex 2023-03-24 13:41:49 +01:00
Holger Brunn e11d5ad09d [ADD] migration script to install report_py3o_fusion_server on upgrades 2023-03-24 13:41:49 +01:00
Alexis de Lattre f07e3a07d3 Improve README.rst for report_py3o* modules 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
OCA Transbot 4392334d6b OCA Transbot updated translations from Transifex 2023-03-24 13:41:49 +01:00
Omar cde6843679 [UPD] report_py3o: Bump version 2023-03-24 13:41:49 +01:00
Omar 41ab72aad8 [FIX] report_py3o: Import new dependencies in try...except 2023-03-24 13:41:49 +01:00
Omar ce7001e35d [FIX] report_py3o: Removes api.one 2023-03-24 13:41:49 +01:00
omar7r 0e9506b349 [FIX] Deletes an unnecessary function call 2023-03-24 13:41:49 +01:00
Omar 77f42ed173 [IMP] report_py3o: Allows to interpret \n and \t in texts, cleans html tags too 2023-03-24 13:41:49 +01:00
OCA Transbot ab5275ab6e OCA Transbot updated translations from Transifex 2023-03-24 13:41:49 +01:00
Laurent Mignon 622420d7c6 [IMP] report_py3o: Take into account print_report_name
If a Printed Report Name is set on the action report, use it as
downloaded filename
refs #133
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
OCA Transbot 6ba5b8411e OCA Transbot updated translations from Transifex 2023-03-24 13:41:49 +01:00
Alexis de Lattre e548439209 Add option py3o_multi_in_one for Py3o reports 2023-03-24 13:41:49 +01:00
Guewen Baconnier be3f68a892 Pass option for escaping False values to server
Needs https://bitbucket.org/faide/py3o.fusion/pull-requests/1
2023-03-24 13:41:49 +01:00
Guewen Baconnier 1918272567 Fix py3o freeze when using server fusion
The template file has been partially read for the parsing of the
expressions, so use the original template data instead.  When the fusion
server receives an incomplete template, we don't receive any answer
back.
2023-03-24 13:41:49 +01:00
Stéphane Bidoul (ACSONE) c5de04dcd8 report_py3o: bump version following last merge 2023-03-24 13:41:49 +01:00
OCA Transbot 86c964022b OCA Transbot updated translations from Transifex 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
OCA Transbot 7acd324d86 OCA Transbot updated translations from Transifex 2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE) 598676d84d [IMP] report_py3o: update authors and contributors 2023-03-24 13:41:49 +01:00
Alexis de Lattre 8845b3c1b8 [FIX] delete PDF invoice attachment on invoice back to draft (native feature now working with py3o) 2023-03-24 13:41:49 +01:00