Commit Graph

33 Commits (fad7b49b2ec15e5bfffc19cf8835eb184e423389)

Author SHA1 Message Date
Sylvain LE GAL c55dc6f287 [IMP] bi_sql_editor : add field context 2023-02-17 10:19:08 +00:00
Paulius Sladkevičius edecab16a2 [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.
2023-02-17 10:19:08 +00:00
Sylvain LE GAL 6be6f7d02f [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
2023-02-17 10:19:08 +00:00
Laurent Mignon (ACSONE) 7e827070bd [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
2023-02-17 10:19:08 +00:00
mariadforgeflow 7b9ea277e5 [FIX] bi_sql_editor: fix typo 2023-02-17 10:19:08 +00:00
mariadforgeflow b58ab666ae [MIG] bi_sql_editor: Migration to 15.0 2023-02-17 10:19:08 +00:00
mariadforgeflow 899ff8086a [IMP] bi_sql_editor: black, isort, prettier 2023-02-17 10:19:08 +00:00
David James 02807d7ae2 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.
2023-02-17 10:19:08 +00:00
David James 24ae610f8c bi_sql_editor: Migration to 14.0 2023-02-17 10:19:08 +00:00
David James 7536779f26 [IMP] bi_sql_editor: black, isort, prettier 2023-02-17 10:19:08 +00:00
HviorForgeFlow 46eea39cfd [MIG] bi_sql_editor: Migration to 13.0 2023-02-17 10:19:08 +00:00
HviorForgeFlow 3c7228078b [IMP] bi_sql_editor: black, isort, prettier 2023-02-17 10:19:08 +00:00
Sylvain LE GAL 680bfdfdad [IMP] bi_sql_editor : conserve cron settings, when setting materialized view to draft ; Set correct default values for cron and enable it 2023-02-17 10:19:08 +00:00
Sylvain LE GAL 02ca14a37f [FIX] bi_sql_editor : handle correctly translation for action name 2023-02-17 10:19:08 +00:00
Sylvain LE GAL edb533e6de [WIP] imp bi_sql_editor 2023-02-17 10:19:08 +00:00
Sylvain LE GAL 40cce38f19 [ADD] action context 2023-02-17 10:19:08 +00:00
hveficent 682666d1e0 change SQL mapping for date 2023-02-17 10:19:08 +00:00
hveficent d26b7c2ea6 [FIX] bi_sql_editor: Add required attribute name on filters 2023-02-17 10:19:08 +00:00
Adrià Gil Sorribes ff08ba0061 [12.0][MIG] Migrate module bi_sql_editor to v12 2023-02-17 10:19:08 +00:00
mreficent 59e90e9868 [FIX] Solves the upgrading problem 2023-02-17 10:19:08 +00:00
mreficent e7845bd2df [IMP] remove unneeded parenthesis 2023-02-17 10:19:08 +00:00
mreficent 722395b489 [FIX] ir.cron relation 2023-02-17 10:19:08 +00:00
hveficent c2e3a69912 [FIX] Can be upgraded with materialized views generated 2023-02-17 10:19:08 +00:00
hveficent c7f736d5ca [MIG] bi_sql_editor: Migration to 11.0 2023-02-17 10:19:08 +00:00
Sylvain LE GAL e92a43103b 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
2023-02-17 10:19:08 +00:00
Patrick Tombez 4c4f50e7ab 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
2023-02-17 10:19:08 +00:00
Darshan Patel 2500c7db4e [IMP] preview button 2023-02-17 10:19:08 +00:00
Darshan Patel b69d2cdcb5 [MIG] bi_sql_editor v10 2023-02-17 10:19:08 +00:00
nicomacr 193092be07 FIX bi_sql_editor 2023-02-17 10:19:08 +00:00
aheficent 97dd0443a2 [IMP] Add test + several fixes 2023-02-17 10:19:08 +00:00
Sylvain LE GAL 6f1f1dd65b create ui now create tree view [IMP] fr translation [IMP] add last refresh date time on the action name of each sql materialized view 2023-02-17 10:19:08 +00:00
nicomacr 8aa3fa3e26 bi_sql_editor 2023-02-17 10:19:08 +00:00
Sylvain LE GAL 86e4d12d7f new module bi_sql_editor [IMP] function to guess model for many2one field; [ADD] security 2023-02-17 10:19:08 +00:00