Commit Graph

44 Commits (4d286371b76a648f91c11040d91ee02aeaf154db)

Author SHA1 Message Date
OCA-git-bot 0951cb83d7 report_xlsx 12.0.1.0.5 2023-01-27 13:04:17 +00:00
Enric Tobella 0be36d56b1 Update from template 2023-01-25 23:11:19 +01:00
OCA-git-bot 7e1eeafd22 report_xlsx 12.0.1.0.4 2021-09-20 16:22:23 +00:00
david 9061daa173 [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
2021-09-20 17:50:19 +02:00
Hans Henrik Gabelgaard 152b879246 Translated using Weblate (Danish)
Currently translated at 94.7% (18 of 19 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/da/
2021-07-13 12:18:26 +00:00
Hans Henrik Gabelgaard 455cb3b49f Added translation using Weblate (Danish) 2021-07-13 12:15:03 +00:00
OCA Transbot 84baf5de43 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_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_xlsx/
2020-08-28 19:26:08 +00:00
oca-travis 223ad4c22c [UPD] Update report_xlsx.pot 2020-08-28 19:20:05 +00:00
Jan Prokop 20d5d59f3c Translated using Weblate (Slovak)
Currently translated at 94.7% (18 of 19 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/sk/
2020-08-16 00:00:02 +00:00
Jan Prokop 5efc54fdc0 Added translation using Weblate (Slovak) 2020-08-15 21:25:22 +00:00
OCA-git-bot 2d034b8369 report_xlsx 12.0.1.0.3 2020-04-02 11:58:29 +00:00
Francesco Apruzzese 6787910afe [IMP] Show UserError and ValidationError generating excel report 2020-01-21 12:41:59 +01:00
OCA Transbot d19678f1ca 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_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_xlsx/
2019-11-22 13:02:32 +00:00
oca-travis fa594548bd [UPD] Update report_xlsx.pot 2019-11-22 12:18:55 +00:00
Nelson Ramírez Sánchez 6480fa4d40 Translated using Weblate (Spanish (Chile))
Currently translated at 61.1% (11 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/es_CL/
2019-11-12 05:34:26 +00:00
Nelson Ramírez Sánchez a3652240a8 Added translation using Weblate (Spanish (Chile)) 2019-11-12 03:04:59 +00:00
OCA-git-bot 80e60be77f report_xlsx 12.0.1.0.2 2019-10-17 14:52:02 +00:00
Jaime Arroyo bb166386a2 [12.0][FIX] Report xlsx res_partner 2019-10-17 15:27:20 +02:00
OCA-git-bot 3532a0f847 report_xlsx 12.0.1.0.1 2019-09-23 13:06:16 +00:00
OCA-git-bot 59a249a0f8 Merge PR #315 into 12.0
Signed-off-by pedrobaeza
2019-09-23 13:00:14 +00:00
Pedro Castro Silva e489fcae75 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/
2019-08-14 13:44:18 +00:00
Pedro Castro Silva bfa6aaea29 Added translation using Weblate (Portuguese) 2019-08-14 10:37:37 +00:00
Kitti U 8dd086725f [12.0][IMP] report_xlsx, make sure print_report_name works 2019-08-09 13:46:53 +07:00
OCA-git-bot 37d1f1014b [UPD] README.rst 2019-07-31 06:50:18 +00:00
Maria Sparenberg 7c8b9d4d17 Translated using Weblate (German)
Currently translated at 100.0% (18 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/de/
2019-07-12 12:43:06 +00:00
OCA Transbot 042fbb807e 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_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_xlsx/
2019-06-16 11:15:40 +00:00
oca-travis 561548b9a5 [UPD] Update report_xlsx.pot 2019-06-12 16:17:13 +00:00
Rudolf Schnapka e7ed2bce34 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/
2019-04-24 20:16:30 +00:00
OCA Transbot fab8589930 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_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_xlsx/
2019-03-17 13:24:48 +00:00
oca-travis 407107ba34 [UPD] Update report_xlsx.pot 2019-03-12 13:57:20 +00:00
OCA Transbot 78a4d14865 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2018-12-29 11:50:57 +00:00
oca-travis 66107f3a5c [UPD] Update report_xlsx.pot 2018-12-21 10:20:14 +00:00
Pedro M. Baeza df6b913cfb [IMP] report_xlsx: README by fragments 2018-12-21 10:12:14 +01:00
Cristian Salamea ddecb3e374 [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
2018-12-21 10:05:20 +01:00
Graeme Gellatly 9de0bc7b62 Fix report_xlsx for printing from wizards 2018-12-21 10:04:28 +01:00
oca-travis 2cf285a24c [UPD] Update report_xlsx.pot 2018-12-21 10:04:18 +01:00
Naglis Jonaitis dedd899d58 [IMP] report_fillpdf, report_xlsx, report_xml: Use content_disposition helper 2018-12-21 10:04:18 +01:00
OCA Transbot 9d87479fcc OCA Transbot updated translations from Transifex 2018-12-21 10:04:18 +01:00
Enric Tobella 360614df55 [MIG] report_xlsx: Migration to 11.0 2018-12-21 10:04:17 +01:00
OCA Transbot b042daca55 OCA Transbot updated translations from Transifex 2018-12-21 10:02:44 +01:00
Stéphane Bidoul (ACSONE) f275af485d [10.0] report_xlsx: Allow to define options for workbook creation (#98)
* Allow to define options for workbook creation
2018-12-21 10:02:44 +01:00
Adrien Peiffer (ACSONE) 19d928b5a8 [MIG] Migration of report_xlsx to 10.0 (#76) 2018-12-21 10:02:40 +01:00
sebalix 81e6b063fd [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 2018-12-21 10:02:02 +01:00
Adrien Peiffer (ACSONE) cec45e79fe [CHG] Rename base_report_xlsx to report_xlsx and add xlsx report type in selection 2018-12-21 10:02:02 +01:00