Skip to content

Commit 1588837

Browse files
committed
[BOT] post-merge updates
1 parent bcd798f commit 1588837

File tree

4 files changed

+72
-70
lines changed

4 files changed

+72
-70
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Available addons
2121
----------------
2222
addon | version | maintainers | summary
2323
--- | --- | --- | ---
24+
[bi_sql_editor](bi_sql_editor/) | 18.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | BI Views builder, based on Materialized or Normal SQL Views
2425
[report_xlsx](report_xlsx/) | 18.0.1.0.0 | | Base module to create xlsx report
2526
[sql_request_abstract](sql_request_abstract/) | 18.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Abstract Model to manage SQL Requests
2627

bi_sql_editor/README.rst

+54-54
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ BI SQL Editor
77
!! This file is generated by oca-gen-addon-readme !!
88
!! changes will be overwritten. !!
99
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10-
!! source digest: sha256:1acb226c184032febd7db6e48ee618c7e5a6899c4685aa78b5b2e7578ebd9ce9
10+
!! source digest: sha256:a308e7ec853f7c008503fa6b869b2c088ff431cdd066d5e27a7ec84895b58d4b
1111
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1212
1313
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -61,17 +61,17 @@ Use Cases
6161

6262
this module is interesting for the following use cases
6363

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
7575

7676
**Table of contents**
7777

@@ -81,50 +81,50 @@ this module is interesting for the following use cases
8181
Configuration
8282
=============
8383

84-
- Go to Dashboard / Configuration / SQL Views
84+
- Go to Dashboard / Configuration / SQL Views
8585

86-
- tip your SQL request
86+
- tip your SQL request
8787

88-
|image1|
88+
|image1|
8989

90-
- Select the group(s) that could have access to the view
90+
- Select the group(s) that could have access to the view
9191

92-
|image2|
92+
|image2|
9393

9494
Optionnaly, you can add a domain.
9595

9696
A tipical domain in a multi company context is to write
9797
``['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]``
9898
to make reporting depending on the current companies of the user.
9999

100-
- Click on the button 'Validate SQL Expression'
100+
- Click on the button 'Validate SQL Expression'
101101

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.
106106

107-
|image3|
107+
|image3|
108108

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)
111111

112-
- If it's a MATERIALIZED view:
112+
- If it's a MATERIALIZED view:
113113

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)
117117

118-
|image4|
118+
|image4|
119119

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.
125125

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.
128128

129129
.. |image1| image:: https://raw.githubusercontent.com/OCA/reporting-engine/18.0/bi_sql_editor/static/description/01_sql_request.png
130130
.. |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:
143143
144144
|usage-image1|
145145

146-
- You can switch to 'Graph' or 'tree' views as any report.
146+
- You can switch to 'Graph' or 'tree' views as any report.
147147

148148
.. |usage-image1| image:: https://raw.githubusercontent.com/OCA/reporting-engine/18.0/bi_sql_editor/static/description/05_reporting_pivot.png
149149

@@ -168,28 +168,28 @@ Authors
168168
Contributors
169169
------------
170170

171-
- Sylvain LE GAL (https://twitter.com/legalsylvain)
171+
- Sylvain LE GAL (https://twitter.com/legalsylvain)
172172

173-
- Richard deMeester, WilldooIT (http://www.willdooit.com/)
173+
- Richard deMeester, WilldooIT (http://www.willdooit.com/)
174174

175-
- David James, WilldooIT (http://www.willdooit.com/)
175+
- David James, WilldooIT (http://www.willdooit.com/)
176176

177-
- Guillem Casassas guillem.casassas@forgeflow.com
177+
- Guillem Casassas guillem.casassas@forgeflow.com
178178

179-
- Thien Vo thienvh@trobz.com
179+
- Thien Vo thienvh@trobz.com
180180

181-
- This module is highly inspired by the work of
181+
- This module is highly inspired by the work of
182182

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
193193

194194
Other credits
195195
-------------

bi_sql_editor/static/description/index.html

+15-15
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ <h1 class="title">BI SQL Editor</h1>
367367
!! This file is generated by oca-gen-addon-readme !!
368368
!! changes will be overwritten. !!
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370-
!! source digest: sha256:1acb226c184032febd7db6e48ee618c7e5a6899c4685aa78b5b2e7578ebd9ce9
370+
!! source digest: sha256:a308e7ec853f7c008503fa6b869b2c088ff431cdd066d5e27a7ec84895b58d4b
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372372
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/reporting-engine/tree/18.0/bi_sql_editor"><img alt="OCA/reporting-engine" src="https://img.shields.io/badge/github-OCA%2Freporting--engine-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-bi_sql_editor"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/reporting-engine&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373373
<p>This module extends the functionality of reporting, to support creation
@@ -396,13 +396,13 @@ <h1>Use Cases</h1>
396396
<p>this module is interesting for the following use cases</p>
397397
<ul class="simple">
398398
<li>You want to realize technical SQL requests, that Odoo framework
399-
doesn’t allow (For exemple, UNION with many SELECT) A typical use
400-
case is if you want to have Sale Orders and PoS Orders datas in a
401-
same table</li>
402-
<li>You want to customize an Odoo report, removing some useless fields
403-
and adding some custom ones. In that case, you can simply select the
404-
fields of the original report (sale.report model for exemple), and
405-
add your custom fields</li>
399+
doesn’t allow (For exemple, UNION with many SELECT) A typical use case
400+
is if you want to have Sale Orders and PoS Orders datas in a same
401+
table</li>
402+
<li>You want to customize an Odoo report, removing some useless fields and
403+
adding some custom ones. In that case, you can simply select the
404+
fields of the original report (sale.report model for exemple), and add
405+
your custom fields</li>
406406
<li>You have a lot of data, and classical SQL Views have very bad
407407
performance. In that case, MATERIALIZED VIEW will be a good solution
408408
to reduce display duration</li>
@@ -447,18 +447,18 @@ <h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
447447
<li><p class="first">If it’s a MATERIALIZED view:</p>
448448
<blockquote>
449449
<ul class="simple">
450-
<li>a cron task is created to refresh the view. You can so define
451-
the frequency of the refresh.</li>
450+
<li>a cron task is created to refresh the view. You can so define the
451+
frequency of the refresh.</li>
452452
<li>the size of view (and the indexes is displayed)</li>
453453
</ul>
454454
</blockquote>
455455
<p><img alt="image4" src="https://raw.githubusercontent.com/OCA/reporting-engine/18.0/bi_sql_editor/static/description/04_materialized_view_setting.png" /></p>
456456
</li>
457-
<li><p class="first">Before applying the final step, you will need to add a specific
458-
Parent Menu to use when creating the UI Menu for the report. By
459-
default, it will be set with the <tt class="docutils literal">SQL Views</tt> menu, which can be
460-
changed before creating the UI elements in order to have the report
461-
accessible from a different place within Odoo.</p>
457+
<li><p class="first">Before applying the final step, you will need to add a specific Parent
458+
Menu to use when creating the UI Menu for the report. By default, it
459+
will be set with the <tt class="docutils literal">SQL Views</tt> menu, which can be changed before
460+
creating the UI elements in order to have the report accessible from a
461+
different place within Odoo.</p>
462462
</li>
463463
<li><p class="first">Finally, click on ‘Create UI’, to create new menu, action, graph view
464464
and search view.</p>

setup/_metapackage/pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[project]
22
name = "odoo-addons-oca-reporting-engine"
3-
version = "18.0.20241112.0"
3+
version = "18.0.20241204.0"
44
dependencies = [
5+
"odoo-addon-bi_sql_editor==18.0.*",
56
"odoo-addon-report_xlsx==18.0.*",
67
"odoo-addon-sql_request_abstract==18.0.*",
78
]

0 commit comments

Comments
 (0)