Commit Graph

92 Commits

Author SHA1 Message Date
OCA-git-bot
18f40ebcd4 [BOT] post-merge updates 2024-10-25 13:40:52 +02:00
Adam Heinz
e0a1185579 [DOC] report_xlsx: Update USAGE.rst 2024-10-25 13:40:52 +02:00
Pedro M. Baeza
441a250a2d [FIX] report_xlsx: Remove XML header in HTML 2024-10-25 13:40:52 +02:00
jakobkrabbe
93266ab3c4 Translated using Weblate (Swedish)
Currently translated at 100.0% (7 of 7 strings)

Translation: reporting-engine-17.0/reporting-engine-17.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-report_xlsx/sv/
2024-10-25 13:40:52 +02:00
mymage
a33e56a77e Translated using Weblate (Italian)
Currently translated at 100.0% (7 of 7 strings)

Translation: reporting-engine-17.0/reporting-engine-17.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-report_xlsx/it/
2024-10-25 13:40:52 +02:00
OCA-git-bot
8b2cfe26b1 [BOT] post-merge updates 2024-10-25 13:40:52 +02:00
oca-ci
78bafa2944 [UPD] Update report_xlsx.pot 2024-10-25 13:40:52 +02:00
Alexandre Fayolle
90cc29d9aa [FIX] migrated version number in __manifest__.py 2024-10-25 13:40:52 +02:00
tien-ld
4cccbe9035 [MIG] report_xlsx: Migration to 17.0 2024-10-25 13:40:52 +02:00
tien-ld
4776b1d416 [IMP] report_xlsx: pre-commit auto fixes 2024-10-25 13:40:52 +02:00
OCA-git-bot
1ce3b154ac [BOT] post-merge updates 2024-10-25 13:40:52 +02:00
Weblate
e01987c2b0 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_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_xlsx/
2024-10-25 13:40:52 +02:00
Houzéfa Abbasbhay
09cb7c8be2 [FIX] report_xlsx: Save as attachment
This implements behavior expected when configuring "Save as Attachment Prefix"
within xlsx reports.
2024-10-25 13:40:52 +02:00
OCA-git-bot
2a18ea31e9 [UPD] README.rst 2024-10-25 13:40:52 +02:00
Ivorra78
5de2f10d39 Translated using Weblate (Spanish)
Currently translated at 100.0% (13 of 13 strings)

Translation: reporting-engine-16.0/reporting-engine-16.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_xlsx/es/
2024-10-25 13:40:52 +02:00
OCA-git-bot
16ed14634c report_xlsx 16.0.1.0.2 2024-10-25 13:40:52 +02:00
Anna Janiszewska
c1d22fe213 [FIX] report_xlsx: initialize reportname 2024-10-25 13:40:52 +02:00
Bole
173301c3c3 Translated using Weblate (Croatian)
Currently translated at 23.0% (3 of 13 strings)

Translation: reporting-engine-16.0/reporting-engine-16.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_xlsx/hr/
2024-10-25 13:40:52 +02:00
OCA-git-bot
952810f881 report_xlsx 16.0.1.0.1 2024-10-25 13:40:52 +02:00
Alexis de Lattre
b94b6ef980 [FIX] report_xlsx: add token in report_download() controller 2024-10-25 13:40:52 +02:00
OCA-git-bot
94aa06a4bb [UPD] README.rst 2024-10-25 13:40:52 +02:00
oca-ci
498d769c23 [UPD] Update report_xlsx.pot 2024-10-25 13:40:52 +02:00
Rodrigo
d1e48c4989 [MIG] Migrate report_xlsx to 16.0 2024-10-25 13:40:52 +02:00
OCA-git-bot
2d588687bd report_xlsx 15.0.1.1.1 2024-10-25 13:40:52 +02:00
Víctor Martínez
869f8c3be5 [IMP] report_xlsx: Method for getting cell format for a currency
TT38722
2024-10-25 13:40:52 +02:00
OCA-git-bot
2b6923cf7b report_xlsx 15.0.1.1.0 2024-10-25 13:40:52 +02:00
Jasmin Solanki
be4f932076 [FIX] report_xlsx: Fix dynamic report download 2024-10-25 13:40:52 +02:00
pablontura
f3f5131fc0 Translated using Weblate (Catalan)
Currently translated at 100.0% (8 of 8 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-report_xlsx/ca/
2024-10-25 13:40:52 +02:00
pablontura
ccd43cbb17 Added translation using Weblate (Catalan) 2024-10-25 13:40:52 +02:00
OCA-git-bot
f4be2395d0 report_xlsx 15.0.1.0.5 2024-10-25 13:40:52 +02:00
OCA-git-bot
9f670c62c9 [UPD] README.rst 2024-10-25 13:40:52 +02:00
manu
4bcf5eaf19 [FIX]report_xlsx: development status tu mature 2024-10-25 13:40:52 +02:00
OCA-git-bot
177a78c755 report_xlsx 15.0.1.0.4 2024-10-25 13:40:52 +02:00
xavier-bouquiaux
467027a847 report_xlsx
refs #586
problem explained in the issue
2024-10-25 13:40:52 +02:00
OCA-git-bot
617843e109 report_xlsx 15.0.1.0.3 2024-10-25 13:40:52 +02:00
Mihran Thalhath
e7c3e9007b [FIX] report_xlsx: fix generation of pdf reports
the report handler for xlsx added over here is always returning `true` even if the report being
generated is not xlsx. Due to this, the report handler doesn't check for other report types
at b309d3a99f/addons/web/static/src/webclient/actions/action_service.js (L1019)
and thus doesn't generate any other reports. So if the converter is not xlsx, return false instead of true.

Also, updating the docids and context in the report_routes controller only needs to be done if
the converter is xlsx and not in any other case.
2024-10-25 13:40:52 +02:00
OCA-git-bot
20b8add35e report_xlsx 15.0.1.0.1 2024-10-25 13:40:52 +02:00
Jaime Arroyo
a76a2f91a9 [12.0][FIX] Report xlsx res_partner 2024-10-25 13:40:52 +02:00
oca-ci
d2019efa45 [UPD] Update report_xlsx.pot 2024-10-25 13:40:52 +02:00
OCA-git-bot
a87255e14f [UPD] README.rst 2024-10-25 13:40:52 +02:00
Christopher Ormaza
fd974fad01 [FIX] report_xlsx: refactor controller and report hamdler 2024-10-25 13:40:52 +02:00
Joan Mateu Jordi
ed8a6aaacc [MIG] report_xlsx: Migration to 15.0 2024-10-25 13:40:52 +02:00
Simon S
781f58d802 Translated using Weblate (Swedish)
Currently translated at 92.3% (12 of 13 strings)

Translation: reporting-engine-14.0/reporting-engine-14.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-14-0/reporting-engine-14-0-report_xlsx/sv/
2024-10-25 13:40:52 +02:00
Simon S
ef30e54f1e Added translation using Weblate (Swedish) 2024-10-25 13:40:52 +02:00
OCA-git-bot
135d59cf6f report_xlsx 14.0.1.0.4 2024-10-25 13:40:52 +02:00
OCA-git-bot
5a55261a64 [UPD] README.rst 2024-10-25 13:40:52 +02:00
Eugene Molotov
8078e0bfb9 [FIX] report_xlsx: correctly handle exceptions, when generating report
Before this commit, when exception is raised while generating report,
on browser window instead of python traceback nothing was shown
on production environment or werkzeug's "Console locked" message
on development environment.
2024-10-25 13:40:52 +02:00
OCA-git-bot
843a499a5e report_xlsx 14.0.1.0.3 2024-10-25 13:40:52 +02:00
david
330aaa1b28 [IMP][FIX] report_xlsx: handle duplicate name exceptions
We want to avoid duplicated sheet names exceptions the same following the same
philosophy that Odoo implements overriding the main library to avoid the 31
characters limit triming the strings before sending them to the library.

In some cases, there's not much control over this as the reports send automated
data and the potential exception is hidden underneath making it hard to debug
the original issue. Even so, different names can become the same one as their
strings are trimmed to those 31 character limit.

This way, once we come across with a duplicated, we set that final 3 characters
with a sequence that we evaluate on the fly. So for instance:

- 'Sheet name' will be 'Sheet name~01'
- The next 'Sheet name' will try to rename to 'Sheet name~01' as well and then
  that will give us 'Sheet name~02'.
- And the next 'Sheet name' will try to rename to 'Sheet name~01' and then to
  'Sheet name~02' and finally it will be able to 'Sheet name~03'.
- An so on as many times as duplicated sheet names come to the workbook up to
  100 for each sheet name. We set such limit as we don't want to truncate the
  strings too much and keeping in mind that this issue don't usually ocurrs.

TT31938
2024-10-25 13:40:52 +02:00
Pedro Castro Silva
70da879d61 Translated using Weblate (Portuguese)
Currently translated at 100.0% (13 of 13 strings)

Translation: reporting-engine-14.0/reporting-engine-14.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-14-0/reporting-engine-14-0-report_xlsx/pt/
2024-10-25 13:40:52 +02:00