Commit Graph

53 Commits (df4c28225245d6b65ae80e36f36cb5c75c25e6e5)

Author SHA1 Message Date
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
OCA-git-bot f291b9d8d0 [UPD] README.rst 2023-11-22 22:41:42 +07:00
oca-travis 38930706eb [UPD] Update report_xlsx.pot 2023-11-22 22:41:42 +07:00
Alex Cuellar db23788466 [MIG] report_xlsx: Migration to 14.0 2023-11-22 22:41:41 +07:00
Alex Cuellar fa6326ee53 [IMP] : black, isort, prettier 2023-11-22 22:41:41 +07:00
OCA Transbot 30ee101b8c 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_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-report_xlsx/
2023-11-22 22:41:41 +07:00
OCA-git-bot cef0ba638d report_xlsx 13.0.1.0.1 2023-11-22 22:41:41 +07:00
OCA-git-bot 22e06579c0 pre-commit update 2023-11-22 22:41:41 +07:00
mreficent 863ca61e06 [FIX] report_xlsx: rename a file 2023-11-22 22:41:41 +07:00
OCA Transbot aee8b44a37 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_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-report_xlsx/
2023-11-22 22:41:41 +07:00
OCA-git-bot d7f3b9b103 [UPD] README.rst 2023-11-22 22:41:41 +07:00
oca-travis bdd799fc2a [UPD] Update report_xlsx.pot 2023-11-22 22:41:41 +07:00
Joan Sisquella 8908995554 [FIX] report_xlsx: js 2023-11-22 22:41:41 +07:00
Rod Schouteden 4450730767 [MIG][IMP][13.0] rebase to include new linters 2023-11-22 22:41:41 +07:00
Rod Schouteden 0f5d2dc9f9 [MIG] report_xlsx: Migration to 13.0 2023-11-22 22:41:41 +07:00
OCA-git-bot 009738eee8 report_xlsx 12.0.1.0.1 2023-11-22 22:41:41 +07:00
Pedro Castro Silva d656fe33a0 Translated using Weblate (Portuguese)
Currently translated at 94.4% (17 of 18 strings)

Translation: reporting-engine-12.0/reporting-engine-12.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_xlsx/pt/
2023-11-22 22:41:41 +07:00
Pedro Castro Silva c674a0520c Added translation using Weblate (Portuguese) 2023-11-22 22:41:41 +07:00
Kitti U dee28bbdeb [12.0][IMP] report_xlsx, make sure print_report_name works 2023-11-22 22:41:41 +07:00
OCA-git-bot 906242a699 [UPD] README.rst 2023-11-22 22:41:41 +07:00
Rudolf Schnapka 8c4525725b Translated using Weblate (German)
Currently translated at 88.2% (15 of 17 strings)

Translation: reporting-engine-12.0/reporting-engine-12.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_xlsx/de/
2023-11-22 22:41:41 +07:00
OCA Transbot b3164faef9 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2023-11-22 22:41:41 +07:00
oca-travis feda42e390 [UPD] Update report_xlsx.pot 2023-11-22 22:41:40 +07:00
Pedro M. Baeza b47c5fa1e2 [IMP] report_xlsx: README by fragments 2023-11-22 22:41:40 +07:00
Cristian Salamea 1589c25a34 [MIG] report_xlsx: Migration to 12.0
* refactor: On new ActionManager override _makeReportUrls and triggerDownload to support XLSX format
* pass action to custom _downloadReportXLSX: Need action to get report data
* dict constructor to remove context lang
2023-11-22 22:41:40 +07:00
Graeme Gellatly 17fa60eb46 Fix report_xlsx for printing from wizards 2023-11-22 22:41:40 +07:00
oca-travis 33cd0054a9 [UPD] Update report_xlsx.pot 2023-11-22 22:41:40 +07:00
Naglis Jonaitis c3f06cb1e7 [IMP] report_fillpdf, report_xlsx, report_xml: Use content_disposition helper 2023-11-22 22:41:40 +07:00
OCA Transbot 7fc2edaa08 OCA Transbot updated translations from Transifex 2023-11-22 22:41:40 +07:00
Enric Tobella b1ec5b53b5 [MIG] report_xlsx: Migration to 11.0 2023-11-22 22:41:40 +07:00
OCA Transbot 7b684aee84 OCA Transbot updated translations from Transifex 2023-11-22 22:41:40 +07:00
Stéphane Bidoul (ACSONE) 7dbcc354ef [10.0] report_xlsx: Allow to define options for workbook creation (#98)
* Allow to define options for workbook creation
2023-11-22 22:41:40 +07:00
Adrien Peiffer (ACSONE) 8bccb7e91f [MIG] Migration of report_xlsx to 10.0 (#76) 2023-11-22 22:41:40 +07:00