Commit Graph

35 Commits

Author SHA1 Message Date
Sylvain LE GAL
db6c8968a2 [REF] bi_sql_editor : Make test independant
[FIX] bi_sql_editor : allow to pass default values in copy() function
2024-11-29 10:59:01 +07:00
chien
41df5fffb9 [IMP] bi_sql_editor: pre-commit auto fixes 2024-11-29 10:59:00 +07:00
Denis Leemann
d79eee9eb2 [16.0][FIX][bi_sql_editor] unlink bi_sql_view without cron
Forward port of https://github.com/OCA/reporting-engine/pull/811
2024-11-29 10:59:00 +07:00
Pierrick Brun
8c5e51b2e0 [FIX] unlink bi_sql_view without cron 2024-11-29 10:59:00 +07:00
Omega TMM
46318f9a10 Update bi_sql_view.py 2024-11-29 10:59:00 +07:00
Sylvain LE GAL
343df7bab8 [IMP] bi_sql_editor : add field context 2024-11-29 10:59:00 +07:00
Paulius Sladkevičius
3c1b094582 [IMP] bi_sql_editor manual field check performance
The `table_columns()` slows down modules loading significantly up to 2-3x.
In most cases `model._name.startswith(self._model_prefix)` returns `False`, so better to check it first.
2024-11-29 10:59:00 +07:00
Sylvain LE GAL
a102a7f115 [MIG] bi_sql_editor : from 15.0 to 16.0
- move menu and action in according view file
- use new sql_request_abstract menu entry for SQL views configuration
- Use sql_request_abstract primary tree view
- Use sql_request_abstract primary form view
- move has_grouped_changed in sql_request_abstract module
- improve demo data
- add default count value to display in pivot, if no pivot_measures are defined ;
- set widget handle to sequence field
- reorder fields in tree view and add optional hide for some fields
- simplify : make field_description field required
- improve : add optional='hide' and 'show' on tree visibility
- replace obsolete base.menu_board_root by spreadsheet_dashboard entries
- update translation
2024-11-29 10:59:00 +07:00
Laurent Mignon (ACSONE)
1ffabf4780 [IMP] bi_sql_editor: Remove useless monkeypatch
On class creation by the ORM of 'manual' model, odoo now check if the table is a real table or a view to automatically set the '_auto' property on the class definition. We can therefore remove the monkey patch on 'ir.model'.

see 17c4f47b0a
2024-11-29 10:59:00 +07:00
mariadforgeflow
4dcd9d292b [MIG] bi_sql_editor: Migration to 15.0 2024-11-29 10:59:00 +07:00
mariadforgeflow
c71e172b8a [IMP] bi_sql_editor: black, isort, prettier 2024-11-29 10:59:00 +07:00
David James
a0b0c88e0e bi_sql_editor: add support for group operators
this commit allows specifying the group operator for each field. This functionality was originally included in a seperate module "bi_sql_editor_aggregate" in version 12.
2024-11-29 10:59:00 +07:00
David James
0a36a03fde bi_sql_editor: Migration to 14.0 2024-11-29 10:59:00 +07:00
David James
49c9c20e12 [IMP] bi_sql_editor: black, isort, prettier 2024-11-29 10:59:00 +07:00
HviorForgeFlow
37f263da13 [MIG] bi_sql_editor: Migration to 13.0 2024-11-29 10:59:00 +07:00
HviorForgeFlow
61ee616a01 [IMP] bi_sql_editor: black, isort, prettier 2024-11-29 10:59:00 +07:00
Sylvain LE GAL
dc1a027cc4 [IMP] bi_sql_editor : conserve cron settings, when setting materialized view to draft ; Set correct default values for cron and enable it 2024-11-29 10:59:00 +07:00
Sylvain LE GAL
726af2b3cd [FIX] bi_sql_editor : handle correctly translation for action name 2024-11-29 10:59:00 +07:00
Sylvain LE GAL
bbb90113d7 [WIP] imp bi_sql_editor 2024-11-29 10:59:00 +07:00
Sylvain LE GAL
8b75e76e0b [ADD] action context 2024-11-29 10:59:00 +07:00
Adrià Gil Sorribes
bb7028e545 [12.0][MIG] Migrate module bi_sql_editor to v12 2024-11-29 10:59:00 +07:00
mreficent
4673cdf337 [FIX] Solves the upgrading problem 2024-11-29 10:58:59 +07:00
mreficent
a8122e2ddc [IMP] remove unneeded parenthesis 2024-11-29 10:58:59 +07:00
mreficent
e78911e11f [FIX] ir.cron relation 2024-11-29 10:58:59 +07:00
hveficent
ecc0d50eb0 [FIX] Can be upgraded with materialized views generated 2024-11-29 10:58:59 +07:00
hveficent
7def61e3af [MIG] bi_sql_editor: Migration to 11.0 2024-11-29 10:58:59 +07:00
Sylvain LE GAL
56e88f3157 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
2024-11-29 10:58:59 +07:00
Patrick Tombez
3e67a99c15 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
2024-11-29 10:58:59 +07:00
Darshan Patel
8b4086820a [IMP] preview button 2024-11-29 10:58:59 +07:00
Darshan Patel
9bfe61fa13 [MIG] bi_sql_editor v10 2024-11-29 10:58:59 +07:00
nicomacr
37f8829bc8 FIX bi_sql_editor 2024-11-29 10:58:59 +07:00
aheficent
f410135af8 [IMP] Add test + several fixes 2024-11-29 10:58:59 +07:00
Sylvain LE GAL
54f1dd0d25 create ui now create tree view [IMP] fr translation [IMP] add last refresh date time on the action name of each sql materialized view 2024-11-29 10:58:59 +07:00
nicomacr
b9a4e87af5 bi_sql_editor 2024-11-29 10:58:59 +07:00
Sylvain LE GAL
efd7b95913 new module bi_sql_editor [IMP] function to guess model for many2one field; [ADD] security 2024-11-29 10:58:59 +07:00