Commit Graph

45 Commits

Author SHA1 Message Date
OCA-git-bot
ba1d8a217f report_xlsx 13.0.1.1.0 2022-09-02 12:15:56 +00:00
Víctor Martínez
36de5e376c [IMP] report_xlsx: Method for getting cell format for a currency
TT38722
2022-09-02 13:07:40 +02:00
OCA-git-bot
c33fa35fd1 report_xlsx 13.0.1.0.6 2021-11-08 11:51:09 +00:00
OCA-git-bot
337147114c [UPD] README.rst 2021-11-08 11:51:09 +00:00
Eugene Molotov
9d5b0aba99 [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.
2021-11-08 14:18:16 +05:00
OCA-git-bot
5e50177bae report_xlsx 13.0.1.0.5 2021-09-20 09:09:27 +00:00
david
f1e7c3b214 [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-17 17:30:47 +02:00
OCA-git-bot
06e74c76cf report_xlsx 13.0.1.0.4 2021-07-27 14:00:15 +00:00
Stéphane Bidoul
6c9814822f Apply dotfiles 2021-07-27 15:27:54 +02:00
OCA-git-bot
31c9d70430 report_xlsx 13.0.1.0.3 2021-06-02 14:10:23 +00:00
OCA-git-bot
9b23532641 [UPD] README.rst 2021-06-02 14:10:22 +00:00
Stéphane Bidoul
3edf7748cf report_xlsx: bump development status [ci skip] 2021-06-02 14:52:07 +02:00
OCA-git-bot
fe49f18f72 report_xlsx 13.0.1.0.2 2021-02-10 16:50:55 +00:00
Luc De Meyer
0fb5967e90 [13.0][FIX]report_xlsx multi-company bug : context dropping (hence also allowed_company_ids) causing access errors in multi-company environment 2021-01-23 19:17:16 +01:00
OCA Transbot
51bdf89561 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/
2020-08-16 11:24:42 +00:00
OCA-git-bot
9ffa21c838 report_xlsx 13.0.1.0.1 2020-04-02 11:57:55 +00:00
OCA-git-bot
335d28688a Merge PR #366 into 13.0
Signed-off-by dreispt
2020-04-02 11:39:03 +00:00
OCA-git-bot
2fc92316db pre-commit update 2020-03-14 12:20:19 +01:00
mreficent
93b0910cee [FIX] report_xlsx: rename a file 2020-02-21 11:25:41 +01:00
OCA Transbot
74af237e50 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/
2020-01-31 17:51:41 +00:00
OCA-git-bot
0a4cf1310f [UPD] README.rst 2020-01-08 10:01:17 +00:00
oca-travis
350233853a [UPD] Update report_xlsx.pot 2020-01-08 09:27:43 +00:00
Joan Sisquella
c93c522435 [FIX] report_xlsx: js 2019-12-24 12:50:09 +01:00
Rod Schouteden
aeff99fabb [MIG][IMP][13.0] rebase to include new linters 2019-10-22 09:56:07 +02:00
Rod Schouteden
cf9244711c [MIG] report_xlsx: Migration to 13.0 2019-10-22 09:35:54 +02:00
OCA-git-bot
a19677828b report_xlsx 12.0.1.0.1 2019-10-22 09:35:54 +02:00
Pedro Castro Silva
d7b3569c28 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-10-22 09:35:54 +02:00
Pedro Castro Silva
a7ffccda8c Added translation using Weblate (Portuguese) 2019-10-22 09:35:54 +02:00
Kitti U
b0f93f4e06 [12.0][IMP] report_xlsx, make sure print_report_name works 2019-10-22 09:35:54 +02:00
OCA-git-bot
6b06885d52 [UPD] README.rst 2019-10-22 09:35:54 +02:00
Rudolf Schnapka
9f29cc7925 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-10-22 09:35:54 +02:00
OCA Transbot
4f221cd701 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2019-10-22 09:35:54 +02:00
oca-travis
f43ca37510 [UPD] Update report_xlsx.pot 2019-10-22 09:35:54 +02:00
Pedro M. Baeza
54abfc7c3e [IMP] report_xlsx: README by fragments 2019-10-22 09:35:54 +02:00
Cristian Salamea
102637c60e [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
2019-10-22 09:35:54 +02:00
Graeme Gellatly
e9ac28b1dd Fix report_xlsx for printing from wizards 2019-10-22 09:35:54 +02:00
oca-travis
3be9b28d9b [UPD] Update report_xlsx.pot 2019-10-22 09:35:54 +02:00
Naglis Jonaitis
14fd3329b7 [IMP] report_fillpdf, report_xlsx, report_xml: Use content_disposition helper 2019-10-22 09:35:54 +02:00
OCA Transbot
21cd5b3f4a OCA Transbot updated translations from Transifex 2019-10-22 09:35:54 +02:00
Enric Tobella
037e818519 [MIG] report_xlsx: Migration to 11.0 2019-10-22 09:35:54 +02:00
OCA Transbot
89841a0516 OCA Transbot updated translations from Transifex 2019-10-22 09:35:54 +02:00
Stéphane Bidoul (ACSONE)
6340e0f9bd [10.0] report_xlsx: Allow to define options for workbook creation (#98)
* Allow to define options for workbook creation
2019-10-22 09:35:54 +02:00
Adrien Peiffer (ACSONE)
b5733e1951 [MIG] Migration of report_xlsx to 10.0 (#76) 2019-10-22 09:35:54 +02:00
sebalix
5e20786cf4 [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 2019-10-22 09:35:54 +02:00
Adrien Peiffer (ACSONE)
fb8015dc9b [CHG] Rename base_report_xlsx to report_xlsx and add xlsx report type in selection 2019-10-22 09:35:54 +02:00