Commit Graph

366 Commits (24b5801ab6ad5c2044f79fb0ac405be6f9cb3af7)

Author SHA1 Message Date
oca-travis bf7ce1b673 [UPD] Update report_py3o_fusion_server.pot 2019-11-19 14:23:48 +01:00
oca-travis a3aa7243de [UPD] Update report_py3o.pot 2019-11-19 14:23:48 +01:00
Houzéfa Abbasbhay 4e3902846c [FIX] report_py3o: respect _postprocess_report method signature
Co-Authored-By: lmignon <laurent.mignon@acsone.eu>
2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) e911ba740f [FIX] report_py3o: Access to ir.config_parameter with sudo 2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) dfbe696bd8 [IMP] py3o_report: Allow to specify the lang when calling o_format_lang
lang_code is already supported by o_format_date
2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) a98f1bb4c3 [FIX] report_py3o: Add missing 'user' and 'lang' into the parser context 2019-11-19 14:23:48 +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) 76928fab55 [IMP] report_py3o: Document new methods available into the parser context 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
Laurent Mignon (ACSONE) 82dbee0cd6 [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
2019-11-19 14:23:48 +01:00
sbejaoui e0bba5e4fc Update i18n 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) 0a0bdd5b8f [FIX] report_py3o_fusion_server: requests.post returns bytes not str 2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) ccbc956f1c [IMP] report_py2o: cleanup js 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
Christophe CHAUVET 887dfe924f 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/
2019-11-19 14:23:48 +01:00
oca-travis a9a4fea612 [UPD] Update report_py3o_fusion_server.pot 2019-11-19 14:23:48 +01:00
oca-travis c38d3c62bd [UPD] Update report_py3o.pot 2019-11-19 14:23:48 +01:00
Alexis de Lattre 89fb8029e3 Improve README.rst to help those that want to produce fully valid PDF/A documents 2019-11-19 14:23:48 +01:00
Alexis de Lattre 374e726415 Fix wrong default value 2019-11-19 14:23:48 +01:00
Alexis de Lattre 33962a15f8 report_py3o_fusion_server: Add chronometer
Improve logs
2019-11-19 14:23:48 +01:00
Alexis de Lattre c732134da6 report_py3o_fusion_server: Update README.rst
Fix string
2019-11-19 14:23:48 +01:00
Alexis de Lattre 6292b95a26 report_py3o_fusion_server: Add support for PDF Export options of libreoffice 2019-11-19 14:23:48 +01:00
Stéphane Bidoul (ACSONE) c7d9f768c3 report_py3o: mention formatLang in README 2019-11-19 14:23:48 +01:00
Simone Rubino 545b10a192 [FIX] If this is not a py3o report, do nothing at all. In some cases the UI remains blocked otherwise 2019-11-19 14:23:48 +01:00
Holger Brunn d4707c5313 [IMP] check for template data, not for the id 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
Pedro M. Baeza f59347cf37 [FIX] report_py3o: Bump version number 2019-11-19 14:23:48 +01:00
Holger Brunn 095f710517 [FIX] fallback to libreoffice conversion when no server is configured
fixes #200
2019-11-19 14:23:48 +01:00
OCA Transbot 9aa7f7249e OCA Transbot updated translations from Transifex 2019-11-19 14:23:48 +01:00
Holger Brunn cff779246c [ADD] migration script to install report_py3o_fusion_server on upgrades 2019-11-19 14:23:48 +01:00
Alexis de Lattre faa0567a97 Improve README.rst for report_py3o* modules 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
OCA Transbot d6ad90db47 OCA Transbot updated translations from Transifex 2019-11-19 14:23:48 +01:00
Omar fe6269e4c8 [UPD] report_py3o: Bump version 2019-11-19 14:23:48 +01:00
Omar f66bbd6275 [FIX] report_py3o: Import new dependencies in try...except 2019-11-19 14:23:48 +01:00
Omar 5708c1b165 [FIX] report_py3o: Removes api.one 2019-11-19 14:23:48 +01:00
omar7r 604e11fb14 [FIX] Deletes an unnecessary function call 2019-11-19 14:23:48 +01:00
Omar 0cb4dcc777 [IMP] report_py3o: Allows to interpret \n and \t in texts, cleans html tags too 2019-11-19 14:23:48 +01:00
OCA Transbot 92913f3730 OCA Transbot updated translations from Transifex 2019-11-19 14:23:48 +01:00
Laurent Mignon 16be57e7d3 [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
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
OCA Transbot 03e258f890 OCA Transbot updated translations from Transifex 2019-11-19 14:23:48 +01:00
Alexis de Lattre 0a6f32d1fc Add option py3o_multi_in_one for Py3o reports 2019-11-19 14:23:48 +01:00
Guewen Baconnier 54248ddea1 Pass option for escaping False values to server
Needs https://bitbucket.org/faide/py3o.fusion/pull-requests/1
2019-11-19 14:23:48 +01:00
Guewen Baconnier 9ad06ad2a9 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.
2019-11-19 14:23:48 +01:00
Stéphane Bidoul (ACSONE) 017f3836f4 report_py3o: bump version following last merge 2019-11-19 14:23:48 +01:00
OCA Transbot 60466fa05c OCA Transbot updated translations from Transifex 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