Browse Source

Update readme

pull/264/head
Adrià Gil Sorribes 6 years ago
parent
commit
3544524024
  1. 32
      bi_sql_editor/README.rst
  2. 2
      bi_sql_editor/readme/INSTALL.rst
  3. 36
      bi_sql_editor/static/description/index.html

32
bi_sql_editor/README.rst

@ -66,11 +66,17 @@ this module is interesting for the following use cases
* You have a lot of data, and classical SQL Views have very bad performance. * You have a lot of data, and classical SQL Views have very bad performance.
In that case, MATERIALIZED VIEW will be a good solution to reduce display duration In that case, MATERIALIZED VIEW will be a good solution to reduce display duration
**Table of contents**
.. contents::
:local:
Installation Installation
============ ============
* You must put this module as `server_wide_modules` in your odoo configuration file * 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. or add '--load=bi_sql_editor' if you start odoo in command line.
Configuration Configuration
============= =============
@ -141,25 +147,6 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
Do not contact contributors directly about support or help with technical issues. Do not contact contributors directly about support or help with technical issues.
Note
====
* If the view is materialized, the name of the action will contain the date
and the time of it last refresh:
.. figure:: /bi_sql_editor/static/description/06_action_datetime_name.png
:width: 800 px
* The syntax of the sql request has the following constrains: the name of the
selectable columns should be prefixed by `x_`
Sample:
.. code-block:: sql
SELECT name as x_name
FROM res_partner
Credits Credits
======= =======
@ -184,13 +171,6 @@ Contributors
Module: grap/odoo-addons-misc/pos_sale_reporting Module: grap/odoo-addons-misc/pos_sale_reporting
link: https://github.com/grap/odoo-addons-misc/tree/7.0/pos_sale_reporting link: https://github.com/grap/odoo-addons-misc/tree/7.0/pos_sale_reporting
Funders
~~~~~~~
The development of this module has been financially supported by:
* GRAP, Groupement Régional Alimentaire de Proximité (http://www.grap.coop)
Maintainers Maintainers
~~~~~~~~~~~ ~~~~~~~~~~~

2
bi_sql_editor/readme/INSTALL.rst

@ -0,0 +1,2 @@
* 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.

36
bi_sql_editor/static/description/index.html

@ -381,19 +381,27 @@ In that case, MATERIALIZED VIEW will be a good solution to reduce display durati
<p><strong>Table of contents</strong></p> <p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents"> <div class="contents local topic" id="contents">
<ul class="simple"> <ul class="simple">
<li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li>
<li><a class="reference internal" href="#usage" id="id2">Usage</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id4">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id5">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li>
<li><a class="reference internal" href="#installation" id="id1">Installation</a></li>
<li><a class="reference internal" href="#configuration" id="id2">Configuration</a></li>
<li><a class="reference internal" href="#usage" id="id3">Usage</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id4">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id5">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id6">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id7">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id8">Maintainers</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
</div> </div>
<div class="section" id="installation">
<h2><a class="toc-backref" href="#id1">Installation</a></h2>
<ul class="simple">
<li>You must put this module as <cite>server_wide_modules</cite> in your odoo configuration file
or add ‘–load=bi_sql_editor’ if you start odoo in command line.</li>
</ul>
</div>
<div class="section" id="configuration"> <div class="section" id="configuration">
<h2><a class="toc-backref" href="#id1">Configuration</a></h2>
<h2><a class="toc-backref" href="#id2">Configuration</a></h2>
<p>To configure this module, you need to:</p> <p>To configure this module, you need to:</p>
<ul> <ul>
<li><p class="first">Go to Settings / Technical / Database Structure / SQL Views</p> <li><p class="first">Go to Settings / Technical / Database Structure / SQL Views</p>
@ -439,7 +447,7 @@ search view.</p>
</ul> </ul>
</div> </div>
<div class="section" id="usage"> <div class="section" id="usage">
<h2><a class="toc-backref" href="#id2">Usage</a></h2>
<h2><a class="toc-backref" href="#id3">Usage</a></h2>
<p>To use this module, you need to:</p> <p>To use this module, you need to:</p>
<ol class="arabic simple"> <ol class="arabic simple">
<li>Go to ‘Reporting’ / ‘Custom Reports’</li> <li>Go to ‘Reporting’ / ‘Custom Reports’</li>
@ -459,7 +467,7 @@ search view.</p>
</ul> </ul>
</div> </div>
<div class="section" id="bug-tracker"> <div class="section" id="bug-tracker">
<h2><a class="toc-backref" href="#id3">Bug Tracker</a></h2>
<h2><a class="toc-backref" href="#id4">Bug Tracker</a></h2>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/reporting-engine/issues">GitHub Issues</a>. <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/reporting-engine/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported. In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed If you spotted it first, help us smashing it by providing a detailed and welcomed
@ -467,15 +475,15 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<p>Do not contact contributors directly about support or help with technical issues.</p> <p>Do not contact contributors directly about support or help with technical issues.</p>
</div> </div>
<div class="section" id="credits"> <div class="section" id="credits">
<h2><a class="toc-backref" href="#id4">Credits</a></h2>
<h2><a class="toc-backref" href="#id5">Credits</a></h2>
<div class="section" id="authors"> <div class="section" id="authors">
<h3><a class="toc-backref" href="#id5">Authors</a></h3>
<h3><a class="toc-backref" href="#id6">Authors</a></h3>
<ul class="simple"> <ul class="simple">
<li>GRAP</li> <li>GRAP</li>
</ul> </ul>
</div> </div>
<div class="section" id="contributors"> <div class="section" id="contributors">
<h3><a class="toc-backref" href="#id6">Contributors</a></h3>
<h3><a class="toc-backref" href="#id7">Contributors</a></h3>
<ul> <ul>
<li><p class="first">Sylvain LE GAL (<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>)</p> <li><p class="first">Sylvain LE GAL (<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>)</p>
</li> </li>
@ -498,7 +506,7 @@ link: <a class="reference external" href="https://github.com/grap/odoo-addons-mi
</ul> </ul>
</div> </div>
<div class="section" id="maintainers"> <div class="section" id="maintainers">
<h3><a class="toc-backref" href="#id7">Maintainers</a></h3>
<h3><a class="toc-backref" href="#id8">Maintainers</a></h3>
<p>This module is maintained by the OCA.</p> <p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose <p>OCA, or the Odoo Community Association, is a nonprofit organization whose

Loading…
Cancel
Save