Commit Graph

120 Commits

Author SHA1 Message Date
aheficent
f2ef2fc05d [IMP] Add test + several fixes 2021-12-13 08:55:14 +01:00
Sylvain LE GAL
d1bf297dd8 create ui now create tree view [IMP] fr translation [IMP] add last refresh date time on the action name of each sql materialized view 2021-12-13 08:55:14 +01:00
nicomacr
4eaaff66ed bi_sql_editor 2021-12-13 08:55:14 +01:00
OCA Transbot
46e450200f OCA Transbot updated translations from Transifex 2021-12-13 08:55:14 +01:00
Sylvain LE GAL
26ab5fd52e new module bi_sql_editor [IMP] function to guess model for many2one field; [ADD] security 2021-12-13 08:55:14 +01:00
oca-ci
50d46ca8c0 [UPD] Update report_xlsx.pot 2021-12-11 11:28:54 +00:00
OCA-git-bot
20bf825797 [ADD] setup.py 2021-12-11 11:27:08 +00:00
OCA-git-bot
f8f9f9935d [UPD] README.rst 2021-12-11 11:27:07 +00:00
OCA-git-bot
b0c15ab81d [UPD] addons table in README.md 2021-12-11 11:27:06 +00:00
Pedro M. Baeza
a94fb9db3c Merge pull request #554 from ForgeFlow/15.0-mig-report_xlsx
[15.0][MIG] report_xlsx: Migration to 15.0
2021-12-11 12:27:03 +01:00
Christopher Ormaza
bc9203ab0b [FIX] report_xlsx: refactor controller and report hamdler 2021-12-10 11:00:22 +01:00
Joan Mateu Jordi
fee318323e [MIG] report_xlsx: Migration to 15.0 2021-12-10 10:12:17 +01:00
Simon S
8ca53e0bcf 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/
2021-12-10 10:12:17 +01:00
Simon S
f7ee6aadc2 Added translation using Weblate (Swedish) 2021-12-10 10:12:17 +01:00
OCA-git-bot
20d8c5c4eb report_xlsx 14.0.1.0.4 2021-12-10 10:12:17 +01:00
OCA-git-bot
6ca4aa2ecb [UPD] README.rst 2021-12-10 10:12:17 +01:00
Eugene Molotov
e1aa558895 [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-12-10 10:12:17 +01:00
OCA-git-bot
916ec9b71c report_xlsx 14.0.1.0.3 2021-12-10 10:12:17 +01:00
david
a9e7c0396b [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-12-10 10:12:17 +01:00
Pedro Castro Silva
41307ebdb4 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/
2021-12-10 10:12:17 +01:00
OCA-git-bot
f7f6dd172c report_xlsx 14.0.1.0.2 2021-12-10 10:12:17 +01:00
OCA-git-bot
6e02bbd582 [UPD] README.rst 2021-12-10 10:12:17 +01:00
Stéphane Bidoul
65645f64b2 report_xlsx: bump development status [ci skip] 2021-12-10 10:12:17 +01:00
Ana Suárez
53af3e0111 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/
2021-12-10 10:12:17 +01:00
OCA-git-bot
cb937cf99b report_xlsx 14.0.1.0.1 2021-12-10 10:12:17 +01:00
Saran440
63beeed36c [FIX] safe_eval object time 2021-12-10 10:12:17 +01:00
OCA-git-bot
73dba2e92a [UPD] README.rst 2021-12-10 10:12:17 +01:00
oca-travis
cb18daa532 [UPD] Update report_xlsx.pot 2021-12-10 10:12:17 +01:00
Alex Cuellar
df75d408ae [MIG] report_xlsx: Migration to 14.0 2021-12-10 10:12:17 +01:00
Alex Cuellar
161165cd32 [IMP] : black, isort, prettier 2021-12-10 10:12:17 +01:00
OCA Transbot
c0f8e5d9c3 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/
2021-12-10 10:12:17 +01:00
OCA-git-bot
8e6ad068da report_xlsx 13.0.1.0.1 2021-12-10 10:12:17 +01:00
OCA-git-bot
298a6f0600 pre-commit update 2021-12-10 10:12:17 +01:00
mreficent
82b42d9406 [FIX] report_xlsx: rename a file 2021-12-10 10:12:17 +01:00
OCA Transbot
58a1ddaa87 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/
2021-12-10 10:12:17 +01:00
OCA-git-bot
100de6759f [UPD] README.rst 2021-12-10 10:12:17 +01:00
oca-travis
71051a1388 [UPD] Update report_xlsx.pot 2021-12-10 10:12:17 +01:00
Joan Sisquella
1ecde4ea83 [FIX] report_xlsx: js 2021-12-10 10:12:17 +01:00
Rod Schouteden
67ecf5c597 [MIG][IMP][13.0] rebase to include new linters 2021-12-10 10:12:17 +01:00
Rod Schouteden
70ad9aff1f [MIG] report_xlsx: Migration to 13.0 2021-12-10 10:12:17 +01:00
OCA-git-bot
d69546f740 report_xlsx 12.0.1.0.1 2021-12-10 10:12:17 +01:00
Pedro Castro Silva
70b7f3d11d 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/
2021-12-10 10:12:17 +01:00
Pedro Castro Silva
efbb643080 Added translation using Weblate (Portuguese) 2021-12-10 10:12:17 +01:00
Kitti U
b8d7bf50d6 [12.0][IMP] report_xlsx, make sure print_report_name works 2021-12-10 10:12:17 +01:00
OCA-git-bot
34abd0a42b [UPD] README.rst 2021-12-10 10:12:17 +01:00
Rudolf Schnapka
e00edf7520 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/
2021-12-10 10:12:17 +01:00
OCA Transbot
39eef0c4e5 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2021-12-10 10:12:17 +01:00
oca-travis
2cc2847340 [UPD] Update report_xlsx.pot 2021-12-10 10:12:17 +01:00
Pedro M. Baeza
5d1f93b64a [IMP] report_xlsx: README by fragments 2021-12-10 10:12:17 +01:00
Cristian Salamea
98379af2bf [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
2021-12-10 10:12:17 +01:00