Commit Graph

118 Commits (cd7734a8ce7a24f9754ee9be502068a067f3e7d1)

Author SHA1 Message Date
OCA-git-bot fcfa1a5997 report_py3o 13.0.1.0.6 2023-04-12 01:49:28 +00:00
OCA-git-bot 9a18f9ebe9 Merge PR #750 into 13.0
Signed-off-by moylop260
2023-04-12 01:43:09 +00:00
Fernanda Hernández 234c293825 [REF] report_py3o: remove PyPDF2 from external_dependencies 2023-04-12 01:08:16 +00:00
mymage edf29c12c8 Translated using Weblate (Italian)
Currently translated at 17.7% (8 of 45 strings)

Translation: reporting-engine-13.0/reporting-engine-13.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-report_py3o/it/
2023-03-30 14:25:06 +00:00
Enric Tobella 4518a98018 [IMP] report_py3o: Add external dependencies 2022-04-19 11:33:54 +02:00
OCA-git-bot a7809adf06 report_py3o 13.0.1.0.5 2021-12-02 15:55:55 +00:00
OCA-git-bot 9539a69914 Merge PR #490 into 13.0
Signed-off-by dreispt
2021-12-02 15:01:52 +00:00
OCA-git-bot 763c1b6147 report_py3o 13.0.1.0.4 2021-10-14 07:07:35 +00:00
Enric Tobella 1b9f34baad [FIX-OU] report_py3o: Missing migration script 2021-10-03 15:17:56 +02:00
OCA-git-bot 7322c7c969 report_py3o 13.0.1.0.3 2021-07-27 14:00:08 +00:00
Stéphane Bidoul 6c9814822f
Apply dotfiles 2021-07-27 15:27:54 +02:00
OCA-git-bot e1a0b599ed report_py3o 13.0.1.0.2 2021-04-20 16:50:39 +00:00
OCA-git-bot 009e1faf2b Merge PR #488 into 13.0
Signed-off-by StefanRijnhart
2021-04-20 15:54:59 +00:00
OCA-git-bot eebd88119b report_py3o 13.0.1.0.1 2021-03-16 11:05:13 +00:00
François Degrave a3585ce3c0
Update py3o_report.py
[FIX] generate a single report with the right extension (if the extension is an OpenDocument type)
2021-03-12 08:58:43 +01:00
François Degrave ad58dab5e2
[FIX] report_py3o: wrong extension for .odt files in zip 2021-03-11 18:52:28 +01:00
gaikaz ec87cbb8db [FIX] report_py3o: add context to /report/download
Odoo did this change in [this commit](4c9624db9d)
2021-03-03 12:01:43 +02:00
hda 365898c459 [13.0][FIX] _py3o_parser_context._old_format_lang useless env param in calling _format_date 2021-01-20 14:59:27 +01:00
OCA Transbot 1a080106b8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-13.0/reporting-engine-13.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-report_py3o/
2020-08-16 11:37:43 +00:00
OCA Transbot 3fed1854a0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-13.0/reporting-engine-13.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-report_py3o/
2020-06-18 07:57:41 +00:00
OCA-git-bot 58a9df686c [UPD] README.rst 2020-06-18 00:08:00 +00:00
oca-travis ae12c3a570 [UPD] Update report_py3o.pot 2020-06-17 22:14:38 +00:00
Stéphane Bidoul 63489eb022
[FIX] make prettier happy 2020-05-13 15:23:56 +02:00
Laurent Mignon (ACSONE) a853c6fe95 [FIX] report_py3o: prettier xml after merge with master 2020-05-12 17:02:14 +02:00
sbejaoui 28856886a2 [12.0][FIX] - report_py3o: run libreoffice in an isolated user installation
Bug when more than one conversion print is launched within the same libreoffice instance.

The standard behavior of libreoffice when a user open it while another instance is
running is to show a new window and throw an error if a new instance is forced within
the same user installation [see](https://bugs.documentfoundation.org/show_bug.cgi?id=37531).

This implies a bug in report_py3o module when we call libreoffice at the same time for
different documents.

To reproduce this bug:

**Case 1:**
1.  Simultaneously print two documents.

**Case 2:**
1.  Run print jobs using job_queue module
2.  Manually print another document

**Case 3:**
2.  Open libreoffice
3.  Print a py3o report

This PR creates a temporary user installation for each libreoffice conversion to bypass this limitation.
2020-01-23 15:41:07 +01:00
Russell Briggs c087613b92 Make sure value is always set for computed fields
(without these a CacheMiss error is thrown by odoo)
2019-11-19 15:54:14 +01:00
Laurent Mignon (ACSONE) f584d505a0 [MIG] report_py3o, report_py3o_fusion_server: Migration to 13.0 2019-11-19 15:54:14 +01:00
Laurent Mignon (ACSONE) e644a32572 [IMP] report_py3o, report_py3o_fusion_server: black, isort 2019-11-19 14:36:37 +01:00
OCA-git-bot 8e41fe8a9a [UPD] README.rst 2019-11-19 14:23:48 +01:00
Stéphane Bidoul (ACSONE) c9ecc66438 [FIX] report_py3o readme structure 2019-11-19 14:23:48 +01:00
Alexis de Lattre 809eb3019e 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
2019-11-19 14:23:48 +01:00
OCA Transbot 1c0f0efbb2 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/
2019-11-19 14:23:48 +01:00
oca-travis b9af94424c [UPD] Update report_py3o.pot 2019-11-19 14:23:48 +01:00
OCA Transbot 5781ee1ec6 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/
2019-11-19 14:23:48 +01:00
oca-travis a3aa7243de [UPD] Update report_py3o.pot 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) 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 c38d3c62bd [UPD] Update report_py3o.pot 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