OCA reporting engine fork for dev and update.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

166 lines
6.0 KiB

  1. ==============
  2. BI View Editor
  3. ==============
  4. .. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  5. !! This file is generated by oca-gen-addon-readme !!
  6. !! changes will be overwritten. !!
  7. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  8. .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
  9. :target: https://odoo-community.org/page/development-status
  10. :alt: Beta
  11. .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
  12. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  13. :alt: License: AGPL-3
  14. .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freporting--engine-lightgray.png?logo=github
  15. :target: https://github.com/OCA/reporting-engine/tree/12.0/bi_view_editor
  16. :alt: OCA/reporting-engine
  17. .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
  18. :target: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-bi_view_editor
  19. :alt: Translate me on Weblate
  20. .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
  21. :target: https://runbot.odoo-community.org/runbot/143/12.0
  22. :alt: Try me on Runbot
  23. |badge1| |badge2| |badge3| |badge4| |badge5|
  24. BI View Editor is a tool integrated in Odoo that allows users define and
  25. execute their own reports without the need to code.
  26. Purpose:
  27. * The BI View Editor is used to create reports not already contained in the
  28. standard Odoo, combining data from existing sources.
  29. * It has been designed to be used by users with little or no knowledge of
  30. the technical architecture of Odoo. Users visually link business objects
  31. and select the fields to visualize.
  32. * The BI View Editor offers users different types of representations,
  33. including tree, graph, pivot views.
  34. **Table of contents**
  35. .. contents::
  36. :local:
  37. Installation
  38. ============
  39. In the Odoo configuration file add ``bi_view_editor`` in the list
  40. ``server_wide_modules``:
  41. .. code-block:: ini
  42. [options]
  43. (...)
  44. server_wide_modules = web,bi_view_editor
  45. (...)
  46. Alternatively specify ``--load=bi_view_editor`` when starting Odoo by command line.
  47. Optionally it is possible to enable the view of the ER Diagram. For this you
  48. need to install `Graphviz`, an open source graph visualization software:
  49. .. code-block:: bash
  50. ``sudo apt-get install graphviz``
  51. Usage
  52. =====
  53. To graphically design your analysis data-set:
  54. - From the Dashboards menu, select "Custom BI Views"
  55. - Browse trough the business objects in the "Query Builder" tab
  56. - Pick the interesting fields (Drag & Drop)
  57. - For each selected field, right-click on the Options column and select whether
  58. it's a row, column or measure; if you want to remove the field from the list
  59. view, unflag the checkbox ´List´ in the Options column
  60. - Save and click "Generate BI View"
  61. - Click "Open BI View" to view the result
  62. To access the created BI View with a dedicated menu:
  63. - If module Dashboard (board) is installed, the standard "Add to My Dashboard"
  64. functionality would be available
  65. - Click "Create a menu" to create a new menu item directly linked to your new
  66. BI view (this feature is available in developer mode); when the BI view is
  67. reset back to draft this menu will be removed, and you will need to re-create
  68. the menu entry.
  69. A more advanced UI is also available under the "Details" tab. It provides extra
  70. possibilities for more advanced users, like to use LEFT JOIN instead of the
  71. default INNER JOIN.
  72. It also possible to improve the IDs generation for new views by adding an `Over Condition` in the "SQL" tab, see https://www.postgresql.org/docs/current/sql-expressions.html#SYNTAX-WINDOW-FUNCTIONS for further details.
  73. For instance, an ORDER BY clause helps preventing unreliable behavior when filtering the generated views.
  74. Known issues / Roadmap
  75. ======================
  76. * Non-stored fields and many2many fields are not supported.
  77. * Provide a tutorial (eg. a working example of usage).
  78. * Find better ways to extend the *_auto_init()* without override.
  79. * Possibly avoid the monkey patches.
  80. * Data the user has no access to (e.g. in a multi company situation) can be
  81. viewed by making a view. Would be nice if models available to select when
  82. creating a view are limited to the ones that have intersecting groups.
  83. Bug Tracker
  84. ===========
  85. Bugs are tracked on `GitHub Issues <https://github.com/OCA/reporting-engine/issues>`_.
  86. In case of trouble, please check there if your issue has already been reported.
  87. If you spotted it first, help us smashing it by providing a detailed and welcomed
  88. `feedback <https://github.com/OCA/reporting-engine/issues/new?body=module:%20bi_view_editor%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  89. Do not contact contributors directly about support or help with technical issues.
  90. Credits
  91. =======
  92. Authors
  93. ~~~~~~~
  94. * Onestein
  95. Contributors
  96. ~~~~~~~~~~~~
  97. * Simon Janssens <s.janssens@onestein.nl>
  98. * Diego Luis Neto <diegoluis.neto@gmail.com>
  99. * Dennis Sluijk <d.sluijk@onestein.nl>
  100. * Kevin Graveman <k.graveman@onestein.nl>
  101. * Richard Dijkstra <r.dijkstra@onestein.nl>
  102. * Andrea Stirpe <a.stirpe@onestein.nl>
  103. * Antonio Esposito <a.esposito@onestein.nl>
  104. * Jordi Ballester Alomar <jordi.ballester@eficent.com>
  105. Other credits
  106. ~~~~~~~~~~~~~
  107. Funders
  108. -------
  109. The development of this module for Odoo 11.0 has been financially supported by:
  110. * IDEAL Connaissances SAS https://www.idealconnaissances.com
  111. Maintainers
  112. ~~~~~~~~~~~
  113. This module is maintained by the OCA.
  114. .. image:: https://odoo-community.org/logo.png
  115. :alt: Odoo Community Association
  116. :target: https://odoo-community.org
  117. OCA, or the Odoo Community Association, is a nonprofit organization whose
  118. mission is to support the collaborative development of Odoo features and
  119. promote its widespread use.
  120. This module is part of the `OCA/reporting-engine <https://github.com/OCA/reporting-engine/tree/12.0/bi_view_editor>`_ project on GitHub.
  121. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.