From f4c3c0f1c29601e079e6c0bfa2075d1a3d43317f Mon Sep 17 00:00:00 2001
From: "Pedro M. Baeza"
Date: Fri, 26 Jul 2019 13:51:01 +0200
Subject: [PATCH] [FIX] bi_sql_editor: Fixes images path
Fixes #309
---
bi_sql_editor/README.rst | 12 ++++++------
bi_sql_editor/readme/CONFIGURE.rst | 8 ++++----
bi_sql_editor/readme/USAGE.rst | 4 ++--
bi_sql_editor/static/description/index.html | 12 ++++++------
4 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/bi_sql_editor/README.rst b/bi_sql_editor/README.rst
index cb85f153..c9316b89 100644
--- a/bi_sql_editor/README.rst
+++ b/bi_sql_editor/README.rst
@@ -86,12 +86,12 @@ To configure this module, you need to:
* tip your SQL request
- .. figure:: https://raw.githubusercontent.com/bi_sql_editor/static/description/01_sql_request.png
+ .. figure:: https://raw.githubusercontent.com/OCA/reporting-engine/12.0/bi_sql_editor/static/description/01_sql_request.png
:width: 800 px
* Select the group(s) that could have access to the view
- .. figure:: https://raw.githubusercontent.com/bi_sql_editor/static/description/02_security_access.png
+ .. figure:: https://raw.githubusercontent.com/OCA/reporting-engine/12.0/bi_sql_editor/static/description/02_security_access.png
:width: 800 px
* Click on the button 'Clean and Check Request'
@@ -101,7 +101,7 @@ To configure this module, you need to:
and set if it will be displayed on the pivot graph as a column, a row or a
measure.
- .. figure:: https://raw.githubusercontent.com/bi_sql_editor/static/description/03_field_mapping.png
+ .. figure:: https://raw.githubusercontent.com/OCA/reporting-engine/12.0/bi_sql_editor/static/description/03_field_mapping.png
:width: 800 px
* Click on the button 'Create SQL View, Indexes and Models'. (this step could
@@ -113,7 +113,7 @@ To configure this module, you need to:
the view. You can so define the frequency of the refresh.
* the size of view (and the indexes is displayed)
- .. figure:: https://raw.githubusercontent.com/bi_sql_editor/static/description/04_materialized_view_setting.png
+ .. figure:: https://raw.githubusercontent.com/OCA/reporting-engine/12.0/bi_sql_editor/static/description/04_materialized_view_setting.png
:width: 800 px
* Finally, click on 'Create UI', to create new menu, action, graph view and
@@ -128,12 +128,12 @@ To use this module, you need to:
#. Select the desired report
- .. figure:: https://raw.githubusercontent.com/bi_sql_editor/static/description/05_reporting_pivot.png
+ .. figure:: https://raw.githubusercontent.com/OCA/reporting-engine/12.0/bi_sql_editor/static/description/05_reporting_pivot.png
:width: 800 px
* You can switch to 'Pie' chart or 'Line Chart' as any report,
- .. figure:: https://raw.githubusercontent.com/bi_sql_editor/static/description/05_reporting_pie.png
+ .. figure:: https://raw.githubusercontent.com/OCA/reporting-engine/12.0/bi_sql_editor/static/description/05_reporting_pie.png
:width: 800 px
Bug Tracker
diff --git a/bi_sql_editor/readme/CONFIGURE.rst b/bi_sql_editor/readme/CONFIGURE.rst
index 20f7b6ae..fee3c674 100644
--- a/bi_sql_editor/readme/CONFIGURE.rst
+++ b/bi_sql_editor/readme/CONFIGURE.rst
@@ -4,12 +4,12 @@ To configure this module, you need to:
* tip your SQL request
- .. figure:: /bi_sql_editor/static/description/01_sql_request.png
+ .. figure:: ../static/description/01_sql_request.png
:width: 800 px
* Select the group(s) that could have access to the view
- .. figure:: /bi_sql_editor/static/description/02_security_access.png
+ .. figure:: ../static/description/02_security_access.png
:width: 800 px
* Click on the button 'Clean and Check Request'
@@ -19,7 +19,7 @@ To configure this module, you need to:
and set if it will be displayed on the pivot graph as a column, a row or a
measure.
- .. figure:: /bi_sql_editor/static/description/03_field_mapping.png
+ .. figure:: ../static/description/03_field_mapping.png
:width: 800 px
* Click on the button 'Create SQL View, Indexes and Models'. (this step could
@@ -31,7 +31,7 @@ To configure this module, you need to:
the view. You can so define the frequency of the refresh.
* the size of view (and the indexes is displayed)
- .. figure:: /bi_sql_editor/static/description/04_materialized_view_setting.png
+ .. figure:: ../static/description/04_materialized_view_setting.png
:width: 800 px
* Finally, click on 'Create UI', to create new menu, action, graph view and
diff --git a/bi_sql_editor/readme/USAGE.rst b/bi_sql_editor/readme/USAGE.rst
index bb887e7e..d3ce1491 100644
--- a/bi_sql_editor/readme/USAGE.rst
+++ b/bi_sql_editor/readme/USAGE.rst
@@ -4,10 +4,10 @@ To use this module, you need to:
#. Select the desired report
- .. figure:: /bi_sql_editor/static/description/05_reporting_pivot.png
+ .. figure:: ../static/description/05_reporting_pivot.png
:width: 800 px
* You can switch to 'Pie' chart or 'Line Chart' as any report,
- .. figure:: /bi_sql_editor/static/description/05_reporting_pie.png
+ .. figure:: ../static/description/05_reporting_pie.png
:width: 800 px
diff --git a/bi_sql_editor/static/description/index.html b/bi_sql_editor/static/description/index.html
index ec2b5e13..ea718d39 100644
--- a/bi_sql_editor/static/description/index.html
+++ b/bi_sql_editor/static/description/index.html
@@ -430,12 +430,12 @@ or add ‘–load=bi_sql_editor’ if you start odoo in command line.
tip your SQL request
Select the group(s) that could have access to the view
Click on the button ‘Clean and Check Request’
@@ -445,7 +445,7 @@ and propose field mapping. For each field, you can decide to create an index
and set if it will be displayed on the pivot graph as a column, a row or a
measure.
Click on the button ‘Create SQL View, Indexes and Models’. (this step could
@@ -460,7 +460,7 @@ the view. You can so define the frequency of the refresh.
Finally, click on ‘Create UI’, to create new menu, action, graph view and
@@ -477,13 +477,13 @@ search view.