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.

179 lines
6.1 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. # -*- coding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # mis_builder module for Odoo, Management Information System Builder
  5. # Copyright (C) 2014-2015 ACSONE SA/NV (<http://acsone.eu>)
  6. #
  7. # This file is a part of mis_builder
  8. #
  9. # mis_builder is free software: you can redistribute it and/or modify
  10. # it under the terms of the GNU Affero General Public License v3 or later
  11. # as published by the Free Software Foundation, either version 3 of the
  12. # License, or (at your option) any later version.
  13. #
  14. # mis_builder is distributed in the hope that it will be useful,
  15. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. # GNU Affero General Public License v3 or later for more details.
  18. #
  19. # You should have received a copy of the GNU Affero General Public License
  20. # v3 or later along with this program.
  21. # If not, see <http://www.gnu.org/licenses/>.
  22. #
  23. ##############################################################################
  24. {
  25. 'name': 'MIS Builder',
  26. 'version': '0.2',
  27. 'category': 'Reporting',
  28. 'summary': """
  29. Build 'Management Information System' Reports and Dashboards
  30. """,
  31. 'description': """
  32. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  33. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  34. :alt: License: AGPL-3
  35. ===========
  36. MIS Builder
  37. ===========
  38. This module allows you to build Management Information Systems dashboards.
  39. Such style of reports presents KPI in rows and time periods in columns.
  40. Reports mainly fetch data from account moves, but can also combine data coming
  41. from arbitrary Odoo models. Reports can be exported to PDF, Excel and they
  42. can be added to Odoo dashboards.
  43. Installation
  44. ============
  45. There is no specific installation procedure for this module.
  46. Configuration and Usage
  47. =======================
  48. To configure this module, you need to:
  49. * Go to Accounting > Configuration > Financial Reports > MIS Report Templates
  50. where you can create report templates by defining KPI's. KPI's constitute
  51. the rows of your reports. Such report templates are time independent.
  52. * Then in Accounting > Reporting > MIS Reports you can create report instance
  53. by binding the templates to time period, hence defining the columns of your
  54. reports.
  55. * From the MIS Report view, you can preview the report, add it to and Odoo
  56. dashboard, and export it to Excel.
  57. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  58. :alt: Try me on Runbot
  59. :target: https://runbot.odoo-community.org/runbot/91/7.0
  60. For further information, please visit:
  61. * https://www.odoo.com/forum/help-1
  62. Developer notes
  63. ===============
  64. A typical extension is to provide a mechanism to filter reports on analytic
  65. dimensions or operational units. To implement this, you can override
  66. _get_additional_move_line_filter and _get_additional_filter to further
  67. filter move lines or queries based on a user selection. A typical use case
  68. could be to add an analytic account field on mis.report.instance, or even on mis.report.instance.period if you want different columns to show different
  69. analytic accounts.
  70. Known issues / Roadmap
  71. ======================
  72. * Add 'Fiscal Year' period type.
  73. * Allow selecting accounts by type. This is currently possible by expressing
  74. a query such as balp[][('account_id.user_type.code', '=', ...)].
  75. This will work but would be more efficient if one could write balp[
  76. user_type=...], as it would involve much less queries to the database.
  77. * More tests should be added. The first part is creating test data, then it
  78. will be easier. At the minimum, We need the following test data:
  79. * one account charts with a few normal accounts and view accounts,
  80. * two fiscal years,
  81. * an opening entry in the second fiscal year,
  82. * to test multi-company consolidation, we need a second company with it's own
  83. account chart and two fiscal years, but without opening entry; we also need
  84. a third company which is the parent of the other two and has a
  85. consolidation chart of account.
  86. Bug Tracker
  87. ===========
  88. Bugs are tracked on `GitHub Issues
  89. <https://github.com/OCA/account-financial-reporting/issues>`_.
  90. In case of trouble, please check there if your issue has already been reported.
  91. If you spotted it first, help us smashing it by providing a detailed and
  92. welcomed feedback `here <https://github.com/OCA/account-financial-reporting
  93. /issues/new?body=module:%20mis_builder%0Aversion:%208.0%0A%0A**Steps%20to%20
  94. reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior
  95. **>`_.
  96. Credits
  97. =======
  98. Contributors
  99. ------------
  100. * Stéphane Bidoul <stephane.bidoul@acsone.eu>
  101. * Laetitia Gangloff <laetitia.gangloff@acsone.eu>
  102. * Adrien Peiffer <adrien.peiffer@acsone.eu>
  103. * Jordi Ballester <jordi.ballester@eficent.com>
  104. Maintainer
  105. ----------
  106. .. image:: https://odoo-community.org/logo.png
  107. :alt: Odoo Community Association
  108. :target: https://odoo-community.org
  109. This module is maintained by the OCA.
  110. OCA, or the Odoo Community Association, is a nonprofit organization whose
  111. mission is to support the collaborative development of Odoo features and
  112. promote its widespread use.
  113. To contribute to this module, please visit http://odoo-community.org.
  114. """,
  115. 'author': 'ACSONE SA/NV,'
  116. 'Odoo Community Association (OCA)',
  117. 'website': 'http://acsone.eu',
  118. 'depends': [
  119. 'account',
  120. 'report_xls', # OCA/reporting-engine
  121. ],
  122. 'data': [
  123. 'wizard/mis_builder_dashboard.xml',
  124. 'views/mis_builder.xml',
  125. 'security/ir.model.access.csv',
  126. 'security/mis_builder_security.xml',
  127. ],
  128. 'test': [
  129. ],
  130. 'demo': [
  131. 'tests/mis.report.kpi.csv',
  132. 'tests/mis.report.query.csv',
  133. 'tests/mis.report.csv',
  134. 'tests/mis.report.instance.period.csv',
  135. 'tests/mis.report.instance.csv',
  136. ],
  137. 'js': [
  138. 'static/src/js/*.js'
  139. ],
  140. 'css': [
  141. 'static/src/css/*.css'
  142. ],
  143. 'qweb': [
  144. 'static/src/xml/*.xml'
  145. ],
  146. 'installable': True,
  147. 'application': True,
  148. 'auto_install': False,
  149. 'license': 'AGPL-3',
  150. }