@@ -7,7 +7,7 @@ BI SQL Editor
7
7
!! This file is generated by oca-gen-addon-readme !!
8
8
!! changes will be overwritten. !!
9
9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:1acb226c184032febd7db6e48ee618c7e5a6899c4685aa78b5b2e7578ebd9ce9
10
+ !! source digest: sha256:a308e7ec853f7c008503fa6b869b2c088ff431cdd066d5e27a7ec84895b58d4b
11
11
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
13
13
.. |badge1 | image :: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -61,17 +61,17 @@ Use Cases
61
61
62
62
this module is interesting for the following use cases
63
63
64
- - You want to realize technical SQL requests, that Odoo framework
65
- doesn't allow (For exemple, UNION with many SELECT) A typical use
66
- case is if you want to have Sale Orders and PoS Orders datas in a
67
- same table
68
- - You want to customize an Odoo report, removing some useless fields
69
- and adding some custom ones. In that case, you can simply select the
70
- fields of the original report (sale.report model for exemple), and
71
- add your custom fields
72
- - You have a lot of data, and classical SQL Views have very bad
73
- performance. In that case, MATERIALIZED VIEW will be a good solution
74
- to reduce display duration
64
+ - You want to realize technical SQL requests, that Odoo framework
65
+ doesn't allow (For exemple, UNION with many SELECT) A typical use case
66
+ is if you want to have Sale Orders and PoS Orders datas in a same
67
+ table
68
+ - You want to customize an Odoo report, removing some useless fields and
69
+ adding some custom ones. In that case, you can simply select the
70
+ fields of the original report (sale.report model for exemple), and add
71
+ your custom fields
72
+ - You have a lot of data, and classical SQL Views have very bad
73
+ performance. In that case, MATERIALIZED VIEW will be a good solution
74
+ to reduce display duration
75
75
76
76
**Table of contents **
77
77
@@ -81,50 +81,50 @@ this module is interesting for the following use cases
81
81
Configuration
82
82
=============
83
83
84
- - Go to Dashboard / Configuration / SQL Views
84
+ - Go to Dashboard / Configuration / SQL Views
85
85
86
- - tip your SQL request
86
+ - tip your SQL request
87
87
88
- |image1 |
88
+ |image1 |
89
89
90
- - Select the group(s) that could have access to the view
90
+ - Select the group(s) that could have access to the view
91
91
92
- |image2 |
92
+ |image2 |
93
93
94
94
Optionnaly, you can add a domain.
95
95
96
96
A tipical domain in a multi company context is to write
97
97
``['|', ('company_id', '=', False), ('company_id', 'in', company_ids)] ``
98
98
to make reporting depending on the current companies of the user.
99
99
100
- - Click on the button 'Validate SQL Expression'
100
+ - Click on the button 'Validate SQL Expression'
101
101
102
- - Once the sql request checked, the module analyses the column of the
103
- view, and propose field mapping. For each field, you can decide to
104
- create an index and set if it will be displayed on the pivot graph as
105
- a column, a row or a measure.
102
+ - Once the sql request checked, the module analyses the column of the
103
+ view, and propose field mapping. For each field, you can decide to
104
+ create an index and set if it will be displayed on the pivot graph as
105
+ a column, a row or a measure.
106
106
107
- |image3 |
107
+ |image3 |
108
108
109
- - Click on the button 'Create SQL elements'. (this step could take a
110
- while, if view is materialized)
109
+ - Click on the button 'Create SQL elements'. (this step could take a
110
+ while, if view is materialized)
111
111
112
- - If it's a MATERIALIZED view:
112
+ - If it's a MATERIALIZED view:
113
113
114
- - a cron task is created to refresh the view. You can so define
115
- the frequency of the refresh.
116
- - the size of view (and the indexes is displayed)
114
+ - a cron task is created to refresh the view. You can so define the
115
+ frequency of the refresh.
116
+ - the size of view (and the indexes is displayed)
117
117
118
- |image4 |
118
+ |image4 |
119
119
120
- - Before applying the final step, you will need to add a specific
121
- Parent Menu to use when creating the UI Menu for the report. By
122
- default, it will be set with the ``SQL Views `` menu, which can be
123
- changed before creating the UI elements in order to have the report
124
- accessible from a different place within Odoo.
120
+ - Before applying the final step, you will need to add a specific Parent
121
+ Menu to use when creating the UI Menu for the report. By default, it
122
+ will be set with the ``SQL Views `` menu, which can be changed before
123
+ creating the UI elements in order to have the report accessible from a
124
+ different place within Odoo.
125
125
126
- - Finally, click on 'Create UI', to create new menu, action, graph view
127
- and search view.
126
+ - Finally, click on 'Create UI', to create new menu, action, graph view
127
+ and search view.
128
128
129
129
.. |image1 | image :: https://raw.githubusercontent.com/OCA/reporting-engine/18.0/bi_sql_editor/static/description/01_sql_request.png
130
130
.. |image2 | image :: https://raw.githubusercontent.com/OCA/reporting-engine/18.0/bi_sql_editor/static/description/02_security_access.png
@@ -143,7 +143,7 @@ To use this module, you need to:
143
143
144
144
|usage-image1 |
145
145
146
- - You can switch to 'Graph' or 'tree' views as any report.
146
+ - You can switch to 'Graph' or 'tree' views as any report.
147
147
148
148
.. |usage-image1 | image :: https://raw.githubusercontent.com/OCA/reporting-engine/18.0/bi_sql_editor/static/description/05_reporting_pivot.png
149
149
@@ -168,28 +168,28 @@ Authors
168
168
Contributors
169
169
------------
170
170
171
- - Sylvain LE GAL (https://twitter.com/legalsylvain)
171
+ - Sylvain LE GAL (https://twitter.com/legalsylvain)
172
172
173
- - Richard deMeester, WilldooIT (http://www.willdooit.com/)
173
+ - Richard deMeester, WilldooIT (http://www.willdooit.com/)
174
174
175
- - David James, WilldooIT (http://www.willdooit.com/)
175
+ - David James, WilldooIT (http://www.willdooit.com/)
176
176
177
- - Guillem Casassas guillem.casassas@forgeflow.com
177
+ - Guillem Casassas guillem.casassas@forgeflow.com
178
178
179
- - Thien Vo thienvh@trobz.com
179
+ - Thien Vo thienvh@trobz.com
180
180
181
- - This module is highly inspired by the work of
181
+ - This module is highly inspired by the work of
182
182
183
- - Onestein: (http://www.onestein.nl/) Module:
184
- OCA/server-tools/bi_view_editor. Link:
185
- https://github.com/OCA/reporting-engine/tree/9.0/bi_view_editor
186
- - Anybox: (https://anybox.fr/) Module :
187
- OCA/server-tools/materialized_sql_view link:
188
- https://github.com/OCA/server-tools/pull/110
189
- - GRAP, Groupement Régional Alimentaire de Proximité:
190
- (http://www.grap.coop/) Module:
191
- grap/odoo-addons-misc/pos_sale_reporting link:
192
- https://github.com/grap/odoo-addons-misc/tree/7.0/pos_sale_reporting
183
+ - Onestein: (http://www.onestein.nl/) Module:
184
+ OCA/server-tools/bi_view_editor. Link:
185
+ https://github.com/OCA/reporting-engine/tree/9.0/bi_view_editor
186
+ - Anybox: (https://anybox.fr/) Module :
187
+ OCA/server-tools/materialized_sql_view link:
188
+ https://github.com/OCA/server-tools/pull/110
189
+ - GRAP, Groupement Régional Alimentaire de Proximité:
190
+ (http://www.grap.coop/) Module:
191
+ grap/odoo-addons-misc/pos_sale_reporting link:
192
+ https://github.com/grap/odoo-addons-misc/tree/7.0/pos_sale_reporting
193
193
194
194
Other credits
195
195
-------------
0 commit comments