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.

174 lines
6.1 KiB

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