Commit Graph

151 Commits

Author SHA1 Message Date
HviorForgeFlow
ad8364e180 [MIG] bi_sql_editor: Migration to 13.0 2021-12-13 08:55:14 +01:00
HviorForgeFlow
1fa643fa26 [IMP] bi_sql_editor: black, isort, prettier 2021-12-13 08:55:14 +01:00
Sylvain LE GAL
8445d37305 [IMP] bi_sql_editor : conserve cron settings, when setting materialized view to draft ; Set correct default values for cron and enable it 2021-12-13 08:55:14 +01:00
Sylvain LE GAL
400d0de3c2 [FIX] bi_sql_editor : handle correctly translation for action name 2021-12-13 08:55:14 +01:00
Sylvain LE GAL
a41248fa47 [WIP] imp bi_sql_editor 2021-12-13 08:55:14 +01:00
OCA Transbot
ea52d10483 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-12.0/reporting-engine-12.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-bi_sql_editor/
2021-12-13 08:55:14 +01:00
Sylvain LE GAL
8f1ba92a8d [ADD] action context 2021-12-13 08:55:14 +01:00
hveficent
a5cccb9a42 change SQL mapping for date 2021-12-13 08:55:14 +01:00
hveficent
b877f035c4 [FIX] bi_sql_editor: Add required attribute name on filters 2021-12-13 08:55:14 +01:00
Pedro M. Baeza
74ba16ef3a [FIX] bi_sql_editor: Fixes images path
Fixes #309
2021-12-13 08:55:14 +01:00
Rudolf Schnapka
2b92898aaa Translated using Weblate (German)
Currently translated at 29.1% (32 of 110 strings)

Translation: reporting-engine-12.0/reporting-engine-12.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-bi_sql_editor/de/
2021-12-13 08:55:14 +01:00
OCA Transbot
7e9cbf3089 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-12.0/reporting-engine-12.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-bi_sql_editor/
2021-12-13 08:55:14 +01:00
OCA-git-bot
47f8ccb23d bi_sql_editor 12.0.1.2.0
bi_sql_editor 12.0.1.1.0

[UPD] README.rst

[UPD] README.rst
2021-12-13 08:55:14 +01:00
Adrià Gil Sorribes
738c6f632c Update readme 2021-12-13 08:55:14 +01:00
mreficent
02ff1347d0 [FIX] bi_sql_editor: add in readme how to solve the update all break 2021-12-13 08:55:14 +01:00
Adrià Gil Sorribes
ef1d7ac7a4 [12.0][MIG] Migrate module bi_sql_editor to v12 2021-12-13 08:55:14 +01:00
OCA Transbot
7352c89eb7 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2021-12-13 08:55:14 +01:00
oca-travis
6a0d558ca5 [UPD] Update bi_sql_editor.pot
[UPD] Update bi_sql_editor.pot

[UPD] Update bi_sql_editor.pot

[UPD] Update bi_sql_editor.pot
2021-12-13 08:55:14 +01:00
mreficent
4fb3e994eb [FIX] Query and technical name should only be modifiable in draft mode 2021-12-13 08:55:14 +01:00
mreficent
a427430983 [FIX] Solves the upgrading problem 2021-12-13 08:55:14 +01:00
mreficent
2c863b01e8 [IMP] remove unneeded parenthesis 2021-12-13 08:55:14 +01:00
mreficent
3403352a0f [FIX] ir.cron relation 2021-12-13 08:55:14 +01:00
hveficent
a673db5bdf [FIX] Can be upgraded with materialized views generated 2021-12-13 08:55:14 +01:00
hveficent
cadfe4ec71 [MIG] bi_sql_editor: Migration to 11.0 2021-12-13 08:55:14 +01:00
oca-travis
514354aba0 [UPD] Update bi_sql_editor.pot 2021-12-13 08:55:14 +01:00
Sylvain LE GAL
7e734805c5 10.0 imp bi sql editor (#1)
* [IMP] is_materialized field non readonly on sql_valid state ; [FIX] block possibility to set indexes on non materialized view

* [FIX] set domain_force, group_ids readonly if state > sql_valid

* [IMP] better display of the field group_ids

* [IMP] possibility to reorder menu items from sql views

* [IMP] Do not warn user when setting sql view to draft if state is sql_valid

* [REF]

* [FIX] Set Date of the first execution in the action name
2021-12-13 08:55:14 +01:00
Patrick Tombez
d09e4677f5 Fix several issues
Fix error '... is not a table or foreign table'
Fix view (colors + oe_highlight)
Fix tests
Fix README + manifest
Fix back to draft
Fix cron call + default values
Use Postgres version 9.6 for travis builds
2021-12-13 08:55:14 +01:00
Darshan Patel
4a2fba7f34 [IMP] preview button 2021-12-13 08:55:14 +01:00
Darshan Patel
1ce6fb73c8 [MIG] bi_sql_editor v10 2021-12-13 08:55:14 +01:00
nicomacr
1e1ebdd647 FIX bi_sql_editor 2021-12-13 08:55:14 +01:00
OCA Transbot
93ac81f78d OCA Transbot updated translations from Transifex 2021-12-13 08:55:14 +01:00
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