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.

172 lines
5.8 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. Developer notes
  58. ===============
  59. A typical extension is to provide a mechanism to filter reports on analytic
  60. dimensions or operational units. To implement this, you can override
  61. _get_additional_move_line_filter and _get_additional_filter to further
  62. filter move lines or queries based on a user selection. A typical use case
  63. could be to add an analytic account field on mis.report.instance, or even
  64. on mis.report.instance.period if you want different columns to show different
  65. analytic accounts.
  66. Known issues / Roadmap
  67. ======================
  68. * Add 'Fiscal Year' period type.
  69. * Allow selecting accounts by type. This is currently possible by expressing
  70. a query such as balp[][('account_id.user_type.code', '=', ...)].
  71. This will work but would be more efficient if one could write balp[
  72. user_type=...], as it would involve much less queries to the database.
  73. * More tests should be added. The first part is creating test data, then it
  74. will be easier. At the minimum, We need the following test data:
  75. * one account charts with a few normal accounts and view accounts,
  76. * two fiscal years,
  77. * an opening entry in the second fiscal year,
  78. * to test multi-company consolidation, we need a second company with it's own
  79. account chart and two fiscal years, but without opening entry; we also need
  80. a third company which is the parent of the other two and has a
  81. consolidation chart of account.
  82. Bug Tracker
  83. ===========
  84. Bugs are tracked on `GitHub Issues
  85. <https://github.com/OCA/account-financial-reporting/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
  88. welcomed feedback `here <https://github.com/OCA/account-financial-reporting
  89. /issues/new?body=module:%20mis_builder%0Aversion:%208.0%0A%0A**Steps%20to%20
  90. reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior
  91. **>`_.
  92. Credits
  93. =======
  94. Contributors
  95. ------------
  96. * Stéphane Bidoul <stephane.bidoul@acsone.eu>
  97. * Laetitia Gangloff <laetitia.gangloff@acsone.eu>
  98. * Adrien Peiffer <adrien.peiffer@acsone.eu>
  99. * Jordi Ballester <jordi.ballester@eficent.com>
  100. Maintainer
  101. ----------
  102. .. image:: https://odoo-community.org/logo.png
  103. :alt: Odoo Community Association
  104. :target: https://odoo-community.org
  105. This module is maintained by the OCA.
  106. OCA, or the Odoo Community Association, is a nonprofit organization whose
  107. mission is to support the collaborative development of Odoo features and
  108. promote its widespread use.
  109. To contribute to this module, please visit http://odoo-community.org.
  110. """,
  111. 'author': 'ACSONE SA/NV,'
  112. 'Odoo Community Association (OCA)',
  113. 'website': 'http://acsone.eu',
  114. 'depends': [
  115. 'account',
  116. 'report_xls', # OCA/reporting-engine
  117. ],
  118. 'data': [
  119. 'wizard/mis_builder_dashboard.xml',
  120. 'views/mis_builder.xml',
  121. 'security/ir.model.access.csv',
  122. 'security/mis_builder_security.xml',
  123. ],
  124. 'test': [
  125. ],
  126. 'demo': [
  127. 'tests/mis.report.kpi.csv',
  128. 'tests/mis.report.query.csv',
  129. 'tests/mis.report.csv',
  130. 'tests/mis.report.instance.period.csv',
  131. 'tests/mis.report.instance.csv',
  132. ],
  133. 'js': [
  134. 'static/src/js/*.js'
  135. ],
  136. 'css': [
  137. 'static/src/css/*.css'
  138. ],
  139. 'qweb': [
  140. 'static/src/xml/*.xml'
  141. ],
  142. 'installable': True,
  143. 'application': True,
  144. 'auto_install': False,
  145. 'license': 'AGPL-3',
  146. }