[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
This commit is contained in:
Sylvain LE GAL
2022-10-25 22:32:43 +02:00
committed by OCA-git-bot
parent d62f47fd19
commit 6be6f7d02f
21 changed files with 459 additions and 505 deletions

View File

@@ -1,6 +1,4 @@
To configure this module, you need to:
* Go to Settings / Technical / Database Structure / SQL Views
* Go to Dashboard / Configuration / SQL Views
* tip your SQL request
@@ -12,7 +10,13 @@ To configure this module, you need to:
.. figure:: ../static/description/02_security_access.png
:width: 800 px
* Click on the button 'Clean and Check Request'
Optionnaly, you can add a domain.
A tipical domain in a multi company context is to write
``['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]``
to make reporting depending on the current companies of the user.
* Click on the button 'Validate SQL Expression'
* Once the sql request checked, the module analyses the column of the view,
and propose field mapping. For each field, you can decide to create an index
@@ -22,7 +26,7 @@ To configure this module, you need to:
.. figure:: ../static/description/03_field_mapping.png
:width: 800 px
* Click on the button 'Create SQL View, Indexes and Models'. (this step could
* Click on the button 'Create SQL elements'. (this step could
take a while, if view is materialized)
* If it's a MATERIALIZED view:

View File

@@ -16,6 +16,7 @@ You can specify extra groups that have the right to access to a specific view.
Warning
-------
This module is intended for technician people in a company and for Odoo integrators.
It requires the user to know SQL syntax and Odoo models.

View File

@@ -1,2 +0,0 @@
* You must put this module as `server_wide_modules` in your odoo configuration file
or add '--load=bi_sql_editor' if you start odoo in command line.

View File

@@ -1,13 +1,10 @@
To use this module, you need to:
#. Go to 'Reporting' / 'Custom Reports'
#. Go to 'Dashboards > SQL Reports'
#. Select the desired report
.. figure:: ../static/description/05_reporting_pivot.png
:width: 800 px
* You can switch to 'Pie' chart or 'Line Chart' as any report,
.. figure:: ../static/description/05_reporting_pie.png
:width: 800 px
* You can switch to 'Graph' or 'tree' views as any report.