Commit Graph

85 Commits (1ec12f194a6c25009e9a7cc707915c0fa8182f54)

Author SHA1 Message Date
OCA-git-bot 1ec12f194a Merge PR #819 into 17.0
Signed-off-by gurneyalex
2023-12-08 07:35:30 +00:00
Alexandre Fayolle fc4b34855b
[FIX] migrated version number in __manifest__.py 2023-12-08 08:28:47 +01:00
tien-ld 8e9d9a74d1 [MIG] report_xlsx: Migration to 17.0 2023-11-22 22:54:58 +07:00
tien-ld 2381d65fb1 [IMP] report_xlsx: pre-commit auto fixes 2023-11-22 22:48:09 +07:00
OCA-git-bot dc48b19cff [BOT] post-merge updates 2023-11-22 22:41:44 +07:00
Weblate 7ded99f082 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/
2023-11-22 22:41:44 +07:00
Houzéfa Abbasbhay cb15ca9149 [FIX] report_xlsx: Save as attachment
This implements behavior expected when configuring "Save as Attachment Prefix"
within xlsx reports.
2023-11-22 22:41:43 +07:00
OCA-git-bot 1a4cc24691 [UPD] README.rst 2023-11-22 22:41:43 +07:00
Ivorra78 007dd2371f 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/
2023-11-22 22:41:43 +07:00
OCA-git-bot d16eb822df report_xlsx 16.0.1.0.2 2023-11-22 22:41:43 +07:00
Anna Janiszewska bd768bbdd3 [FIX] report_xlsx: initialize reportname 2023-11-22 22:41:43 +07:00
Bole 857067eb29 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/
2023-11-22 22:41:43 +07:00
OCA-git-bot 0cc017b961 report_xlsx 16.0.1.0.1 2023-11-22 22:41:43 +07:00
Alexis de Lattre 46a8800bd6 [FIX] report_xlsx: add token in report_download() controller 2023-11-22 22:41:43 +07:00
OCA-git-bot 0372766c82 [UPD] README.rst 2023-11-22 22:41:43 +07:00
oca-ci f9a0727dac [UPD] Update report_xlsx.pot 2023-11-22 22:41:43 +07:00
Rodrigo bc43cc47be [MIG] Migrate report_xlsx to 16.0 2023-11-22 22:41:43 +07:00
OCA-git-bot 689bb01e2a report_xlsx 15.0.1.1.1 2023-11-22 22:41:43 +07:00
Víctor Martínez 447a5cf25a [IMP] report_xlsx: Method for getting cell format for a currency
TT38722
2023-11-22 22:41:43 +07:00
OCA-git-bot fc0d6c0c31 report_xlsx 15.0.1.1.0 2023-11-22 22:41:43 +07:00
Jasmin Solanki 4056d12eac [FIX] report_xlsx: Fix dynamic report download 2023-11-22 22:41:43 +07:00
pablontura b47029eb81 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/
2023-11-22 22:41:43 +07:00
pablontura 06eb0a3283 Added translation using Weblate (Catalan) 2023-11-22 22:41:43 +07:00
OCA-git-bot d15505a06b report_xlsx 15.0.1.0.5 2023-11-22 22:41:43 +07:00
OCA-git-bot 9f388dc043 [UPD] README.rst 2023-11-22 22:41:43 +07:00
manu ccd8dcfab9 [FIX]report_xlsx: development status tu mature 2023-11-22 22:41:43 +07:00
OCA-git-bot 0a7d248929 report_xlsx 15.0.1.0.4 2023-11-22 22:41:43 +07:00
xavier-bouquiaux 01dad3b1ce report_xlsx
refs #586
problem explained in the issue
2023-11-22 22:41:43 +07:00
OCA-git-bot 1d6bcd510b report_xlsx 15.0.1.0.3 2023-11-22 22:41:43 +07:00
Mihran Thalhath 137e42d1f9 [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.
2023-11-22 22:41:43 +07:00
OCA-git-bot 44560b0dd3 report_xlsx 15.0.1.0.1 2023-11-22 22:41:42 +07:00
Jaime Arroyo d8794c903e [12.0][FIX] Report xlsx res_partner 2023-11-22 22:41:42 +07:00
oca-ci df4c282252 [UPD] Update report_xlsx.pot 2023-11-22 22:41:42 +07:00
OCA-git-bot 70ae03a48d [UPD] README.rst 2023-11-22 22:41:42 +07:00
Christopher Ormaza 7eea563302 [FIX] report_xlsx: refactor controller and report hamdler 2023-11-22 22:41:42 +07:00
Joan Mateu Jordi 5bf16ce8b2 [MIG] report_xlsx: Migration to 15.0 2023-11-22 22:41:42 +07:00
Simon S 96b944f407 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/
2023-11-22 22:41:42 +07:00
Simon S 2e2f3e6854 Added translation using Weblate (Swedish) 2023-11-22 22:41:42 +07:00
OCA-git-bot b007db7772 report_xlsx 14.0.1.0.4 2023-11-22 22:41:42 +07:00
OCA-git-bot 71eb19a4cf [UPD] README.rst 2023-11-22 22:41:42 +07:00
Eugene Molotov 87701e0fd6 [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.
2023-11-22 22:41:42 +07:00
OCA-git-bot 909d276564 report_xlsx 14.0.1.0.3 2023-11-22 22:41:42 +07:00
david 3172f3bc73 [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
2023-11-22 22:41:42 +07:00
Pedro Castro Silva f6710c5d0b 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/
2023-11-22 22:41:42 +07:00
OCA-git-bot d82d219344 report_xlsx 14.0.1.0.2 2023-11-22 22:41:42 +07:00
OCA-git-bot fabdb155e8 [UPD] README.rst 2023-11-22 22:41:42 +07:00
Stéphane Bidoul 20dbab1f64 report_xlsx: bump development status [ci skip] 2023-11-22 22:41:42 +07:00
Ana Suárez 8fad3387cb Translated using Weblate (Spanish)
Currently translated at 84.6% (11 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/es/
2023-11-22 22:41:42 +07:00
OCA-git-bot 120b889a6a report_xlsx 14.0.1.0.1 2023-11-22 22:41:42 +07:00
Saran440 16f303ec96 [FIX] safe_eval object time 2023-11-22 22:41:42 +07:00