Commit Graph

463 Commits

Author SHA1 Message Date
Alexis de Lattre
e62119507f 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
2022-12-12 09:31:45 +01:00
OCA Transbot
462ba013cb 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/
2022-12-12 09:31:45 +01:00
oca-travis
ab8a96ad6f [UPD] Update report_py3o.pot 2022-12-12 09:31:45 +01:00
OCA Transbot
3ccde65680 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/
2022-12-12 09:31:45 +01:00
oca-travis
a1353e0cee [UPD] Update report_py3o.pot 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
8b586a02de [FIX] report_py3o: Access to ir.config_parameter with sudo 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
1863c8db45 [IMP] py3o_report: Allow to specify the lang when calling o_format_lang
lang_code is already supported by o_format_date
2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
1a5e6a1b1a [FIX] report_py3o: Add missing 'user' and 'lang' into the parser context 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
89b6a9d96b [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.
2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
4c5c8b3c57 [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
2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
f970e34274 [IMP] report_py3o: Document new methods available into the parser context 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
da64b691b0 [IMP] report_py3o: remove obsolete methods 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
e610057c6b [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
2022-12-12 09:31:45 +01:00
sbejaoui
778aac2b1a Update i18n 2022-12-12 09:31:45 +01:00
Gilles Meyomesse
64ce3fd0b8 [12.0][MIG] improvement py3o_report_extender 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
701f1f6c7d [IMP] report_py2o: cleanup js 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
b220ba1d57 [MIG] report_py3o, report_py3o_fusion_server: Migration to 12.0 2022-12-12 09:31:45 +01:00
Christophe CHAUVET
ffe358fb5e 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/
2022-12-12 09:31:45 +01:00
oca-travis
6ee465c5ec [UPD] Update report_py3o.pot 2022-12-12 09:31:45 +01:00
Alexis de Lattre
5b41b20f17 report_py3o_fusion_server: Add support for PDF Export options of libreoffice 2022-12-12 09:31:45 +01:00
Stéphane Bidoul (ACSONE)
5a7dc78469 report_py3o: mention formatLang in README 2022-12-12 09:31:45 +01:00
Simone Rubino
acad63b666 [FIX] If this is not a py3o report, do nothing at all. In some cases the UI remains blocked otherwise 2022-12-12 09:31:45 +01:00
Holger Brunn
eacf2a648c [IMP] check for template data, not for the id 2022-12-12 09:31:45 +01:00
jesusVMayor
410df815d4 [FIX]report_py3o: Escape correctly html characters. 2022-12-12 09:31:45 +01:00
Pedro M. Baeza
cc471f9a6a [FIX] report_py3o: Bump version number 2022-12-12 09:31:45 +01:00
Holger Brunn
6f8ad2396d [FIX] fallback to libreoffice conversion when no server is configured
fixes #200
2022-12-12 09:31:45 +01:00
OCA Transbot
48a1950821 OCA Transbot updated translations from Transifex 2022-12-12 09:31:45 +01:00
Holger Brunn
fcb9ae2705 [ADD] migration script to install report_py3o_fusion_server on upgrades 2022-12-12 09:31:45 +01:00
Alexis de Lattre
3d6f24082f Improve README.rst for report_py3o* modules 2022-12-12 09:31:45 +01:00
Holger Brunn
0b052039cb [RFR] split off the fusion server to its own module
use libreoffice for conversions in the base version. Fixes #179
2022-12-12 09:31:45 +01:00
OCA Transbot
b63618caea OCA Transbot updated translations from Transifex 2022-12-12 09:31:45 +01:00
Omar
20390f7279 [UPD] report_py3o: Bump version 2022-12-12 09:31:45 +01:00
Omar
ccadac7315 [FIX] report_py3o: Import new dependencies in try...except 2022-12-12 09:31:45 +01:00
Omar
9bc5a03826 [FIX] report_py3o: Removes api.one 2022-12-12 09:31:45 +01:00
omar7r
16dba5c7d3 [FIX] Deletes an unnecessary function call 2022-12-12 09:31:45 +01:00
Omar
7ed89d5c5a [IMP] report_py3o: Allows to interpret \n and \t in texts, cleans html tags too 2022-12-12 09:31:45 +01:00
OCA Transbot
93c301a181 OCA Transbot updated translations from Transifex 2022-12-12 09:31:45 +01:00
Laurent Mignon
8eb9bfd56d [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
2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
eab6c80ecc [FIX] report_py3o: must return the path to the report
refs #119
2022-12-12 09:31:45 +01:00
OCA Transbot
9e1f7c8323 OCA Transbot updated translations from Transifex 2022-12-12 09:31:45 +01:00
Alexis de Lattre
ec1a4030cb Add option py3o_multi_in_one for Py3o reports 2022-12-12 09:31:45 +01:00
Guewen Baconnier
f8b75456bd Pass option for escaping False values to server
Needs https://bitbucket.org/faide/py3o.fusion/pull-requests/1
2022-12-12 09:31:45 +01:00
Guewen Baconnier
b0a07ee9a6 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.
2022-12-12 09:31:45 +01:00
Stéphane Bidoul (ACSONE)
1598e28bc4 report_py3o: bump version following last merge 2022-12-12 09:31:45 +01:00
OCA Transbot
3cafe9fa53 OCA Transbot updated translations from Transifex 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
57c4922545 [IMP] report_py3o: prevent injections when retrieving the template from path 2022-12-12 09:31:45 +01:00
OCA Transbot
f12eb249b8 OCA Transbot updated translations from Transifex 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
4f68732962 [IMP] report_py3o: update authors and contributors 2022-12-12 09:31:45 +01:00
Alexis de Lattre
460666b105 [FIX] delete PDF invoice attachment on invoice back to draft (native feature now working with py3o) 2022-12-12 09:31:45 +01:00
OCA Transbot
2084a8f3b4 OCA Transbot updated translations from Transifex 2022-12-12 09:31:45 +01:00