Commit Graph

126 Commits

Author SHA1 Message Date
OCA-git-bot
b303901522 [BOT] post-merge updates 2024-04-04 23:06:46 +00:00
Christopher Rogos
fe32cee7bd [IMP] remove python libs included in odoo from requirements 2024-04-04 08:54:16 +00:00
mymage
098ab27b98 Translated using Weblate (Italian)
Currently translated at 100.0% (46 of 46 strings)

Translation: reporting-engine-16.0/reporting-engine-16.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_py3o/it/
2024-01-19 09:33:43 +00:00
OCA-git-bot
3dc4516651 [BOT] post-merge updates 2023-12-08 07:52:16 +00:00
fazledyn-or
1e86acae8b Reformatted using pre-commit
Signed-off-by: fazledyn-or <ataf@openrefactory.com>
2023-11-09 10:48:54 +06:00
fazledyn-or
494b7bae12 Replaced mktemp with mkstemp
Signed-off-by: fazledyn-or <ataf@openrefactory.com>
2023-11-08 18:19:48 +06:00
Weblate
5f69186115 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-16.0/reporting-engine-16.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_py3o/
2023-10-10 00:07:15 +00:00
mymage
08c5f372d0 Translated using Weblate (Italian)
Currently translated at 17.3% (8 of 46 strings)

Translation: reporting-engine-16.0/reporting-engine-16.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_py3o/it/
2023-09-20 17:53:31 +00:00
Ignacio Buioli
0f357cbd21 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (46 of 46 strings)

Translation: reporting-engine-16.0/reporting-engine-16.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_py3o/es_AR/
2023-09-20 17:53:31 +00:00
Ivorra78
a7cae2a9dc Translated using Weblate (Spanish)
Currently translated at 100.0% (46 of 46 strings)

Translation: reporting-engine-16.0/reporting-engine-16.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_py3o/es/
2023-09-07 16:37:58 +00:00
Weblate
de11001297 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-16.0/reporting-engine-16.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_py3o/
2023-09-03 20:49:05 +00:00
OCA-git-bot
5019f30b0f [UPD] README.rst 2023-09-03 16:00:44 +00:00
OCA-git-bot
a8006a6872 [UPD] README.rst 2023-08-23 18:18:59 +00:00
oca-ci
e25b3c96db [UPD] Update report_py3o.pot 2023-08-23 18:14:30 +00:00
Alexis de Lattre
651813a647 [MIG] report_py3o to v16 2022-12-12 22:52:24 +01:00
Tran Thanh Phuc
aa228f0d89 [MIG] report_py3o: Migration to 15.0 2022-12-12 09:31:45 +01:00
OCA-git-bot
fd240b6850 [UPD] README.rst 2022-12-12 09:31:45 +01:00
oca-travis
93227ad32c [UPD] Update report_py3o.pot 2022-12-12 09:31:45 +01:00
Denis Leemann
70f8ba2f3a run pre-commit 2022-12-12 09:31:45 +01:00
Elmeri Niemelä
96a69faf88 [IMP] Remove except of IOError as its an alias to OSError in python3
Co-authored-by: Nils Hamerlinck <nilshamerlinck@users.noreply.github.com>
2022-12-12 09:31:45 +01:00
Elmeri Niemelä
d15d332a31 [IMP] Cleanup unnecessary imports
Co-authored-by: Nils Hamerlinck <nilshamerlinck@users.noreply.github.com>
2022-12-12 09:31:45 +01:00
Elmeri Niemelä
d588063723 [IMP] Workaround for genshi DeprecationWarning that makes runbot build red
Co-authored-by: Nils Hamerlinck <nilshamerlinck@users.noreply.github.com>
2022-12-12 09:31:45 +01:00
Elmeri Niemelä
038e536ad6 [IMP] Add ability to include properly formatted datetime field in a report displaying date and time 2022-12-12 09:31:45 +01:00
Elmeri Niemelä
c78902369d [MIG] Use safe_eval wrapped time module. Fix deprecation warnings.
Co-authored-by: Alexis de Lattre <alexis.delattre@akretion.com>
2022-12-12 09:31:45 +01:00
Elmeri Niemelä
f7286ba520 Update report_py3o/models/ir_actions_report.py
In v 14.0 time module is already in safe_eval https://github.com/odoo/odoo/blob/14.0/odoo/tools/safe_eval.py#L38

Co-authored-by: mourad-ehm <mourad.elhadj.mimoune@akretion.com>
2022-12-12 09:31:45 +01:00
Elmeri Niemelä
7f83800b04 [14.0][MIG] report_py3o: Migration to 14.0 2022-12-12 09:31:45 +01:00
OCA Transbot
28fa369134 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/
2022-12-12 09:31:45 +01:00
OCA Transbot
aea20d6b04 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/
2022-12-12 09:31:45 +01:00
OCA-git-bot
7fe12b8968 [UPD] README.rst 2022-12-12 09:31:45 +01:00
oca-travis
f4ac323195 [UPD] Update report_py3o.pot 2022-12-12 09:31:45 +01:00
Stéphane Bidoul
af547b4059 [FIX] make prettier happy 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
604b64d10d [FIX] report_py3o: prettier xml after merge with master 2022-12-12 09:31:45 +01:00
sbejaoui
58ce5780ff [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.
2022-12-12 09:31:45 +01:00
Russell Briggs
52d475fa21 Make sure value is always set for computed fields
(without these a CacheMiss error is thrown by odoo)
2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
f3342f26a4 [MIG] report_py3o, report_py3o_fusion_server: Migration to 13.0 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE)
be6ff706a1 [IMP] report_py3o, report_py3o_fusion_server: black, isort 2022-12-12 09:31:45 +01:00
OCA-git-bot
15943792a8 [UPD] README.rst 2022-12-12 09:31:45 +01:00
Stéphane Bidoul (ACSONE)
1ccc7d4631 [FIX] report_py3o readme structure 2022-12-12 09:31:45 +01:00
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