Build 'Management Information System' Reports and Dashboards
This module allows you to build Management Information Systems dashboards. Such style of reports presents KPI in rows and time periods in columns. Reports mainly fetch data from account moves, but can also combine data coming from arbitrary Odoo models. Reports can be exported to PDF, Excel and they can be added to Odoo dashboards.
Table of contents
- Known issues / Roadmap
- Bug Tracker
Your preferred way to install addons will work with MIS Builder.
An easy way to install it with all its dependencies is using pip:
- pip install --pre odoo10-addon-mis_builder odoo-autodiscover
- then restart Odoo, update the addons list in your database, and install the MIS Builder application.
To configure this module, you need to:
- Go to Accounting > Configuration > MIS Reporting > MIS Report Templates where you can create report templates by defining KPI’s. KPI’s constitute the rows of your reports. Such report templates are time independent.
- Then in Accounting > Reports > MIS Reporting > MIS Reports you can create report instance by binding the templates to time periods, hence defining the columns of your reports.
- From the MIS Reports view, you can preview the report, add it to and Odoo dashboard, and export it to PDF or Excel.
A typical extension is to provide a mechanism to filter reports on analytic dimensions or operational units. To implement this, you can override _get_additional_move_line_filter and _get_additional_filter to further filter move lines or queries based on a user selection. A typical use case 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 analytic accounts.
- [FIX] Missing comparison operator for AccountingNone leading to errors in pbal computations (#93)
- [FIX] make subkpi ordering deterministic (#71)
- [ADD] report instance level option to disable account expansion, enabling the creation of detailed templates while deferring the decision of rendering the details or not to the report instance (#74)
- [ADD] pbal and nbal accounting expressions, to sum positive and negative balances respectively (ie ignoring accounts with negative, resp positive balances) (#86)
- [ADD] month and year relative periods, easier to use than date ranges for the most common case. (#2)
- [ADD] multi-company consolidation support, with currency conversion (the conversion rate date is the end of the reporting period) (#7, #3)
- [ADD] provide ref, datetime, dateutil, time, user in the evaluation context of move line domains; among other things, this allows using references to xml ids (such as account types or tax tags) when querying move lines (#26).
- [ADD] extended account selectors: you can now select accounts using any domain on account.account, not only account codes balp[('user_type_id', '=', ref('account.data_account_type_receivable').id)] (#4).
- [IMP] in the report instance configuration form, the filters are now grouped in a notebook page, this improves readability and extensibility (#39).
- [FIX] fix error when saving periods in comparison mode on newly created (not yet saved) report instances. #50
- [FIX] improve display of Base Date report instance view. #51
Upgrading from 3.0 (breaking changes):
- Alternative move line data sources must have a company_id field.
- [ADD] Alternative move line source per report column. This makes mis buidler accounting expressions work on any model that has debit, credit, account_id and date fields. Provided you can expose, say, committed purchases, or your budget as a view with debit, credit and account_id, this opens up a lot of possibilities
- [ADD] Comparison column source (more flexible than the previous, now deprecated, comparison mechanism). CAVEAT: there is no automated migration to the new mechanism.
- [ADD] Sum column source, to create columns that add/subtract other columns.
- [ADD] mis.kpi.data abstract model as a basis for manual KPI values supporting automatic ajustment to the reporting time period (the basis for budget item, but could also server other purposes, such as manually entering some KPI values, such as number of employee)
- [ADD] mis_builder_budget module providing a new budget data source
- [ADD] new “hide empty” style property
- [IMP] new AEP method to get accounts involved in an expression (this is useful to find which KPI relate to a given P&L acount, to implement budget control)
- [IMP] many UI improvements
- [IMP] many code style improvements and some refactoring
- [IMP] add the column date_from, date_to in expression evaluation context, as well as time, datetime and dateutil modules
Main bug fixes:
- [FIX] deletion of templates and reports (cascade and retricts) (https://github.com/OCA/account-financial-reporting/issues/281)
- [FIX] copy of reports (https://github.com/OCA/account-financial-reporting/issues/282)
- [FIX] better error message when periods have wrong/missing dates (https://github.com/OCA/account-financial-reporting/issues/283)
- [FIX] xlsx export of string types KPI (https://github.com/OCA/account-financial-reporting/issues/285)
- [FIX] sorting of detail by account
- [FIX] computation bug in detail by account when multiple accounting expressions were used in a KPI
- [FIX] permission issue when adding report to dashboard with non admin user
- [IMP] more robust behaviour in presence of missing expressions
- [FIX] indent style
- [FIX] local variable ‘ctx’ referenced before assignment when generating reports with no objects
- [IMP] use fontawesome icons
- [MIG] migrate to 10.0
- [FIX] unicode error when exporting to Excel
- [IMP] provide full access to mis builder style for group Adviser.
- [IMP] Add refresh button in mis report preview.
- [IMP] Widget code changes to allow to add fields in the widget more easily.
- [IMP] remove unused argument in declare_and_compute_period() for a cleaner API. This is a breaking API changing merged in urgency before it is used by other modules.
Part of the work for this release has been done at the Sorrento sprint April 26-29, 2016. The rest (ie a major refactoring) has been done in the weeks after.
- [IMP] hide button box in edit mode on the report instance settings form
- [FIX] Fix sum aggregation of non-stored fields (https://github.com/OCA/account-financial-reporting/issues/178)
- [IMP] There is now a default style at the report level
- [CHG] Number display properties (rounding, prefix, suffix, factor) are now defined in styles
- [CHG] Percentage difference are rounded to 1 digit instead of the kpi’s rounding, as the KPI rounding does not make sense in this case
- [CHG] The divider suffix (k, M, etc) is not inserted automatically anymore because it is inconsistent when working with prefixes; you need to add it manually in the suffix
- [IMP] AccountingExpressionProcessor now supports ‘balu’ expressions to obtain the unallocated profit/loss of previous fiscal years; get_unallocated_pl is the corresponding convenience method
- [IMP] AccountingExpressionProcessor now has easy methods to obtain balances by account: get_balances_initial, get_balances_end, get_balances_variation
- [IMP] there is now an auto-expand feature to automatically display a detail by account for selected kpis
- [IMP] the kpi and period lists are now manipulated through forms instead of directly in the tree views
- [IMP] it is now possible to create a report through a wizard, such reports are deemed temporary and available through a “Last Reports Generated” menu, they are garbaged collected automatically, unless saved permanently, which can be done using a Save button
- [IMP] there is now a beginner mode to configure simple reports with only one period
- [IMP] it is now easier to configure periods with fixed start/end dates
- [IMP] the new sub-kpi mechanism allows the creation of columns with multiple values, or columns with different values
- [IMP] thanks to the new style model, the Excel export is now styled
- [IMP] a new style model is now used to centralize style configuration
- [FIX] use =like instead of like to search for accounts, because the % are added by the user in the expressions
- [FIX] Correctly compute the initial balance of income and expense account based on the start of the fiscal year
- [IMP] Support date ranges (from OCA/server-tools/date_range) as a more flexible alternative to fiscal periods
- v9 migration: fiscal periods are removed, account charts are removed, consolidation accounts have been removed
- The copy of a MIS Report Instance now copies period. https://github.com/OCA/account-financial-reporting/pull/181
- The copy of a MIS Report Template now copies KPIs and queries. https://github.com/OCA/account-financial-reporting/pull/177
- Usability: the default view for MIS Report instances is now the rendered preview, and the settings are accessible through a gear icon in the list view and a button in the preview. https://github.com/OCA/account-financial-reporting/pull/170
- Display blank cells instead of 0.0 when there is no data. https://github.com/OCA/account-financial-reporting/pull/169
- Usability: better layout of the MIS Report periods settings on small screens. https://github.com/OCA/account-financial-reporting/pull/167
- Include the download buttons inside the MIS Builder widget, and refactor the widget to open the door to analytic filtering in the previews. https://github.com/OCA/account-financial-reporting/pull/151
- Add KPI rendering prefixes (so you can print $ in front of the value). https://github.com/OCA/account-financial-reporting/pull/158
- Add hooks for analytic filtering. https://github.com/OCA/account-financial-reporting/pull/128 https://github.com/OCA/account-financial-reporting/pull/131
Pre-history. Or rather, you need to look at the git log.
Bugs are tracked on GitHub Issues. 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 feedback.
Do not contact contributors directly about support or help with technical issues.
- Stéphane Bidoul <firstname.lastname@example.org>
- Laetitia Gangloff <email@example.com>
- Adrien Peiffer <firstname.lastname@example.org>
- Alexis de Lattre <email@example.com>
- Alexandre Fayolle <firstname.lastname@example.org>
- Jordi Ballester <email@example.com>
- Thomas Binsfeld <firstname.lastname@example.org>
- Giovanni Capalbo <email@example.com>
- Marco Calcagni <firstname.lastname@example.org>
- Sébastien Beau <email@example.com>
- Laurent Mignon <firstname.lastname@example.org>
- Luc De Meyer <email@example.com>
- Benjamin Willig <firstname.lastname@example.org>
- Martronic SA <email@example.com>
- nicomacr <firstname.lastname@example.org>
- Juan Jose Scarafia <email@example.com>
- Richard deMeester <firstname.lastname@example.org>
- Eric Caudal <email@example.com>
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/mis-builder project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|odoo10_addon_mis_builder-10.0.3.2.2-py2-none-any.whl (467.7 kB) Copy SHA256 hash SHA256||Wheel||py2||Jul 1, 2018|