Commit Graph

382 Commits (3d34dd7f48bc480112cda96db87c8f35a4b14f81)

Author SHA1 Message Date
Simon S 58314d62c2 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/
2022-11-30 12:46:46 +01:00
Simon S aa085ee76c Added translation using Weblate (Swedish) 2022-11-30 12:46:46 +01:00
OCA-git-bot db81d468ca report_xlsx 14.0.1.0.4 2022-11-30 12:46:46 +01:00
OCA-git-bot 2abc77e6ab [UPD] README.rst 2022-11-30 12:46:46 +01:00
Eugene Molotov 07b735a27b [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.
2022-11-30 12:46:45 +01:00
OCA-git-bot 335b07517a report_xlsx 14.0.1.0.3 2022-11-30 12:46:45 +01:00
david 1526e771d9 [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
2022-11-30 12:46:45 +01:00
Pedro Castro Silva fa2f5a031c 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/
2022-11-30 12:46:45 +01:00
OCA-git-bot 3fb7b62777 report_xlsx 14.0.1.0.2 2022-11-30 12:46:45 +01:00
OCA-git-bot 3975fe1298 [UPD] README.rst 2022-11-30 12:46:45 +01:00
Stéphane Bidoul bfe7267c4a report_xlsx: bump development status [ci skip] 2022-11-30 12:46:45 +01:00
Ana Suárez 62ec1e07af 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/
2022-11-30 12:46:45 +01:00
OCA-git-bot fb7b655ff2 report_xlsx 14.0.1.0.1 2022-11-30 12:46:45 +01:00
Saran440 472d937b9a [FIX] safe_eval object time 2022-11-30 12:46:45 +01:00
OCA-git-bot 7b14bfcb98 [UPD] README.rst 2022-11-30 12:46:45 +01:00
oca-travis 06f4685c20 [UPD] Update report_xlsx.pot 2022-11-30 12:46:45 +01:00
Alex Cuellar 32b35467f7 [MIG] report_xlsx: Migration to 14.0 2022-11-30 12:46:45 +01:00
Alex Cuellar 200fe0d15b [IMP] : black, isort, prettier 2022-11-30 12:46:45 +01:00
OCA Transbot 7051177884 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/
2022-11-30 12:46:45 +01:00
OCA-git-bot 4c5a0764d0 report_xlsx 13.0.1.0.1 2022-11-30 12:46:45 +01:00
OCA-git-bot 720b1f02f4 pre-commit update 2022-11-30 12:46:45 +01:00
mreficent 572f4b5736 [FIX] report_xlsx: rename a file 2022-11-30 12:46:45 +01:00
OCA Transbot 7d9df9930d 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/
2022-11-30 12:46:45 +01:00
OCA-git-bot b948257087 [UPD] README.rst 2022-11-30 12:46:45 +01:00
oca-travis 4d8fef3529 [UPD] Update report_xlsx.pot 2022-11-30 12:46:45 +01:00
Joan Sisquella fc887ceb8e [FIX] report_xlsx: js 2022-11-30 12:46:45 +01:00
Rod Schouteden 54f46f6a89 [MIG][IMP][13.0] rebase to include new linters 2022-11-30 12:46:45 +01:00
Rod Schouteden fca87a5299 [MIG] report_xlsx: Migration to 13.0 2022-11-30 12:46:45 +01:00
OCA-git-bot 1b4999422c report_xlsx 12.0.1.0.1 2022-11-30 12:46:45 +01:00
Pedro Castro Silva 367323a4b6 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/
2022-11-30 12:46:45 +01:00
Pedro Castro Silva 96bfdf37fa Added translation using Weblate (Portuguese) 2022-11-30 12:46:45 +01:00
Kitti U b43522bb1a [12.0][IMP] report_xlsx, make sure print_report_name works 2022-11-30 12:46:45 +01:00
OCA-git-bot 7f8dd98c74 [UPD] README.rst 2022-11-30 12:46:45 +01:00
Rudolf Schnapka 8bd65fb61b 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/
2022-11-30 12:46:45 +01:00
OCA Transbot f3a26d1fd1 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2022-11-30 12:46:45 +01:00
oca-travis a09e80a5bc [UPD] Update report_xlsx.pot 2022-11-30 12:46:45 +01:00
Pedro M. Baeza 19f10585ad [IMP] report_xlsx: README by fragments 2022-11-30 12:46:45 +01:00
Cristian Salamea 68767c3fa8 [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
2022-11-30 12:46:45 +01:00
Graeme Gellatly 095c321a3d Fix report_xlsx for printing from wizards 2022-11-30 12:46:45 +01:00
oca-travis 5fd955f1ff [UPD] Update report_xlsx.pot 2022-11-30 12:46:45 +01:00
Naglis Jonaitis 98018a2cf7 [IMP] report_fillpdf, report_xlsx, report_xml: Use content_disposition helper 2022-11-30 12:46:45 +01:00
OCA Transbot f2e86228ad OCA Transbot updated translations from Transifex 2022-11-30 12:46:45 +01:00
Enric Tobella 30337adcac [MIG] report_xlsx: Migration to 11.0 2022-11-30 12:46:45 +01:00
OCA Transbot 804d9dc35e OCA Transbot updated translations from Transifex 2022-11-30 12:46:45 +01:00
Stéphane Bidoul (ACSONE) bdb9c43278 [10.0] report_xlsx: Allow to define options for workbook creation (#98)
* Allow to define options for workbook creation
2022-11-30 12:46:45 +01:00
Adrien Peiffer (ACSONE) 76505f076c [MIG] Migration of report_xlsx to 10.0 (#76) 2022-11-30 12:46:45 +01:00
sebalix 8d054ceaf7 [IMP] report_xlsx - Pass the report instance as well as ids of records to print to the 'create_xlsx_report' method + Instanciate the parser and make it available for the 'generate_xlsx_report' method 2022-11-30 12:46:45 +01:00
Adrien Peiffer (ACSONE) 9e6dd0d9dd [CHG] Rename base_report_xlsx to report_xlsx and add xlsx report type in selection 2022-11-30 12:46:45 +01:00
Weblate 8dfa82089f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-16.0/reporting-engine-16.0-sql_export
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-sql_export/
2022-11-28 12:11:35 +00:00
OCA-git-bot badacc743b [ADD] setup.py 2022-11-28 10:01:07 +00:00