Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
35add16
[IMP] mis_builder_budget: add active fields Add active field on mis.b…
acsonefho Dec 10, 2024
9749805
[MIG] mis_builder_budget: invisble attr syntax
sbidoul Dec 11, 2024
1bfd34f
[FIX] mis_builder: Fix JS error when adding custom filter
ThiagoMForgeFlow Sep 15, 2025
ed82ec4
[IMP] mis_builder: use more classic h1 tag for name field of the repo…
legalsylvain Sep 16, 2025
ef7f57c
[IMP] mis_builder : Use 'code' widget (mode: 'python').
legalsylvain Sep 16, 2025
e1d1243
[IMP] mis_builder: add a description field on mis.report.style model
legalsylvain Sep 15, 2025
9df7c5e
[IMP] mis_builder: use new 'optional' fields
legalsylvain Sep 16, 2025
75f3214
[IMP] mis_builder_budget : use new 'optional' fields
legalsylvain Sep 16, 2025
8219409
[FIX] mis_builder: Add test that is failing.
legalsylvain Sep 16, 2025
a422147
[FIX] mis_builder: allow to copy mis.report.instance if it contains m…
legalsylvain Sep 16, 2025
829a934
Merge PR #723 into 18.0
OCA-git-bot Sep 17, 2025
978f9b9
[BOT] post-merge updates
OCA-git-bot Sep 17, 2025
bc82230
Merge PR #720 into 18.0
OCA-git-bot Sep 17, 2025
5940e6d
[UPD] Update mis_builder.pot
Sep 17, 2025
81b0123
[BOT] post-merge updates
OCA-git-bot Sep 17, 2025
ea7d3c9
Update translation files
weblate Sep 17, 2025
b13a5ac
Merge PR #717 into 18.0
OCA-git-bot Sep 17, 2025
2fb0a09
[BOT] post-merge updates
OCA-git-bot Sep 17, 2025
a73ef5f
Merge PR #718 into 18.0
OCA-git-bot Sep 17, 2025
044c32d
[UPD] Update mis_builder.pot
Sep 17, 2025
c7107d8
[BOT] post-merge updates
OCA-git-bot Sep 17, 2025
e86141f
Update translation files
weblate Sep 17, 2025
ae1805c
[IMP] mis_builder: display fields allways in the same place.
legalsylvain Sep 15, 2025
6c473fd
Merge PR #719 into 18.0
OCA-git-bot Sep 17, 2025
1a5cc9b
[BOT] post-merge updates
OCA-git-bot Sep 17, 2025
912c891
[MIG/IMP] mis_builder: analytic_distribution_search removed in 18
LoisRForgeFlow Sep 17, 2025
09f82c9
Merge PR #725 into 18.0
OCA-git-bot Sep 22, 2025
ff09ed2
[BOT] post-merge updates
OCA-git-bot Sep 22, 2025
a8537a7
[IMP] mis_builder: Sort reports by sequence
Jul 28, 2025
4909678
Merge PR #731 into 18.0
OCA-git-bot Sep 25, 2025
21a5d79
[UPD] Update mis_builder.pot
Sep 25, 2025
75011e1
[BOT] post-merge updates
OCA-git-bot Sep 25, 2025
33d539f
Update translation files
weblate Sep 25, 2025
852c7ff
Translated using Weblate (Italian)
mymage Sep 26, 2025
b9f2f9c
Add OCA Banner to README
sbidoul Oct 14, 2025
9ca56a1
Translated using Weblate (Italian)
mymage Oct 15, 2025
f52af13
Merge PR #724 into 18.0
OCA-git-bot Oct 16, 2025
9c006e8
[BOT] post-merge updates
OCA-git-bot Oct 16, 2025
6315c5e
Merge PR #697 into 18.0
OCA-git-bot Oct 27, 2025
9820b8a
[UPD] Update mis_builder_budget.pot
Oct 27, 2025
9cfaa84
[BOT] post-merge updates
OCA-git-bot Oct 27, 2025
f864993
Update translation files
weblate Oct 27, 2025
4c94db5
[IMP] mis_builder: enforce unique style name
chaule97 Dec 10, 2024
86e959e
Merge PR #696 into 18.0
OCA-git-bot Oct 27, 2025
98d54a3
[UPD] Update mis_builder.pot
Oct 27, 2025
9d56481
[BOT] post-merge updates
OCA-git-bot Oct 27, 2025
dfe45bc
Update translation files
weblate Oct 27, 2025
1e51805
[FIX] mis_builder: ensure ci
chienandalu Dec 13, 2024
2552f1d
Merge PR #698 into 18.0
OCA-git-bot Oct 27, 2025
221d5be
[IMP] mis_builder: introduce annotation in reports
AnizR Apr 15, 2025
8077e1d
Merge PR #689 into 18.0
OCA-git-bot Oct 27, 2025
4528d5f
[UPD] Update mis_builder.pot
Oct 27, 2025
2df3e6b
[BOT] post-merge updates
OCA-git-bot Oct 27, 2025
2c96567
Update translation files
weblate Oct 27, 2025
ed47290
mis_builder_budget: allow to specify a company on budget by kpi
AnizR Aug 28, 2024
0ae305d
further simplify aep
sbidoul Nov 11, 2024
f5491a4
refactor to not assume a tuple
sbidoul Nov 11, 2024
8448df0
minor clarification in aep
sbidoul Nov 11, 2024
ecd8bb0
refactor the debit credit accumulator
sbidoul Nov 11, 2024
d42309c
fix doctest
sbidoul Nov 11, 2024
7987e54
Custom fields in accounting expressions
sbidoul Nov 15, 2023
ead8981
document custom fields in accounting expressions
sbidoul Nov 11, 2024
ca7dab3
add test for fldp
sbidoul Nov 11, 2024
18ddc76
[FIX] mis_builder: don't show account details when there is no data
sbidoul Jan 8, 2025
a8b89ee
Merge PR #699 into 18.0
OCA-git-bot Oct 27, 2025
a638efe
[UPD] Update mis_builder_budget.pot
Oct 27, 2025
d49a86b
[BOT] post-merge updates
OCA-git-bot Oct 27, 2025
f73d259
Update translation files
weblate Oct 27, 2025
29fd677
Merge PR #701 into 18.0
OCA-git-bot Oct 27, 2025
a382070
[UPD] Update mis_builder.pot
Oct 27, 2025
69a441f
[BOT] post-merge updates
OCA-git-bot Oct 27, 2025
7bca4d8
Update translation files
weblate Oct 27, 2025
cac681b
Merge PR #721 into 18.0
OCA-git-bot Oct 27, 2025
e4de9d9
[BOT] post-merge updates
OCA-git-bot Oct 27, 2025
fb4b546
[REF] Remove broken and unused KpiMatrixRow.row_id
sbidoul Oct 27, 2025
b626ba3
Merge PR #739 into 18.0
OCA-git-bot Oct 27, 2025
b757aa5
[BOT] post-merge updates
OCA-git-bot Oct 27, 2025
1100fbe
Translated using Weblate (Italian)
mymage Oct 28, 2025
46081af
Translated using Weblate (Italian)
mymage Oct 28, 2025
acdba5a
[ADD] mis_builder: add test on company rates
AnizR Oct 27, 2025
a5823ec
[FIX] mis_builder: computation of currency conversion rates
AnizR Oct 29, 2025
3982413
Merge PR #743 into 18.0
OCA-git-bot Oct 29, 2025
426418e
[BOT] post-merge updates
OCA-git-bot Oct 29, 2025
a86eacb
[IMP]mis_builder: improve rounding
ChristophAbenthungCibex Oct 30, 2025
4d229c2
Translated using Weblate (Turkish)
bo-eska Oct 31, 2025
b069a4b
Added translation using Weblate (Swedish)
jakobkrabbe Nov 3, 2025
e0c1e71
Translated using Weblate (Swedish)
jakobkrabbe Nov 3, 2025
052622a
Translated using Weblate (Swedish)
jakobkrabbe Nov 4, 2025
66502b4
Merge PR #745 into 18.0
OCA-git-bot Nov 12, 2025
7f466d4
[BOT] post-merge updates
OCA-git-bot Nov 12, 2025
8ac0096
[IMP] mis_builder: use company of report.instance when querying
AnizR Aug 27, 2024
9ff79aa
Merge PR #755 into 18.0
OCA-git-bot Nov 24, 2025
fec6fc1
[UPD] Update mis_builder.pot
Nov 24, 2025
f57e58b
[BOT] post-merge updates
OCA-git-bot Nov 24, 2025
996a98b
Update translation files
weblate Nov 24, 2025
1811a24
Translated using Weblate (Italian)
mymage Nov 25, 2025
aa8d5f7
Translated using Weblate (Swedish)
jakobkrabbe Nov 26, 2025
f313ab7
Translated using Weblate (Swedish)
jakobkrabbe Nov 26, 2025
1875e0d
Translated using Weblate (Italian)
mymage Nov 28, 2025
b869bbc
Pseudo code for a p&l consistency check
sbidoul Sep 20, 2025
fac8dc3
[IMP] Add checks for P&L and Balance Sheet
alexis-via Apr 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[![Support the OCA](https://odoo-community.org/readme-banner-image)](https://odoo-community.org/get-involved?utm_source=repo-readme)

# MIS Builder

[![Runboat](https://img.shields.io/badge/runboat-Try%20me-875A7B.png)](https://runboat.odoo-community.org/builds?repo=OCA/mis-builder&target_branch=18.0)
[![Pre-commit Status](https://github.com/OCA/mis-builder/actions/workflows/pre-commit.yml/badge.svg?branch=18.0)](https://github.com/OCA/mis-builder/actions/workflows/pre-commit.yml?query=branch%3A18.0)
Expand All @@ -7,8 +10,6 @@

<!-- /!\ do not modify above this line -->

# MIS Builder

Management Information System reports for Odoo: easily build super fast,
beautiful, custom reports such as P&L, Balance Sheets and more.

Expand Down Expand Up @@ -50,8 +51,8 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[mis_builder](mis_builder/) | 18.0.1.2.1 | <a href='https://github.com/sbidoul'><img src='https://github.com/sbidoul.png' width='32' height='32' style='border-radius:50%;' alt='sbidoul'/></a> | Build 'Management Information System' Reports and Dashboards
[mis_builder_budget](mis_builder_budget/) | 18.0.1.0.2 | <a href='https://github.com/sbidoul'><img src='https://github.com/sbidoul.png' width='32' height='32' style='border-radius:50%;' alt='sbidoul'/></a> | Create budgets for MIS reports
[mis_builder](mis_builder/) | 18.0.1.8.0 | <a href='https://github.com/sbidoul'><img src='https://github.com/sbidoul.png' width='32' height='32' style='border-radius:50%;' alt='sbidoul'/></a> | Build 'Management Information System' Reports and Dashboards
[mis_builder_budget](mis_builder_budget/) | 18.0.2.0.0 | <a href='https://github.com/sbidoul'><img src='https://github.com/sbidoul.png' width='32' height='32' style='border-radius:50%;' alt='sbidoul'/></a> | Create budgets for MIS reports
[mis_builder_demo](mis_builder_demo/) | 18.0.1.0.0 | <a href='https://github.com/sbidoul'><img src='https://github.com/sbidoul.png' width='32' height='32' style='border-radius:50%;' alt='sbidoul'/></a> | Demo addon for MIS Builder

[//]: # (end addons)
Expand Down
34 changes: 20 additions & 14 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,19 @@ Building your KPI
Expressions can be any valid python expressions.

The following special elements are recognized in the expressions to compute accounting
data: {bal|crd|deb}{pieu}[account selector][journal items domain].

* bal, crd, deb: balance, debit, credit.
* p, i, e: respectively variation over the period, initial balance, ending balance
* The account selector is a like expression on the account code (eg 70%, etc).
data: ``{bal|crd|deb|pbal|nbal|fld}{pieu}(.fieldname)?[account selector][journal items domain]``.

* ``bal``, ``crd``, ``deb``: balance, debit, credit.
* ``pbal``, ``nbal``: positive and negative balances only
* ``fld``: custom numerical field
* ``p``, ``i``, ``e``: respectively variation over the period, initial balance, ending balance
* .fieldname: when ``fld`` is used, the field name to use (eg ``fldp.quantity``).
* The account selector is a like expression on the account code (eg ``[70%]``, etc),
or a domain over accounts (eg ``[("tag_ids.name", "=", "mytag")]``).
* The journal items domain is an Odoo domain filter on journal items.
* balu[]: (u for unallocated) is a special expression that shows the unallocated
* ``balu[]``: (u for unallocated) is a special expression that shows the unallocated
profit/loss of previous fiscal years.
* Expression can also involve other KPI and query results by name (eg kpi1 + kpi2).
* Expression can also involve other KPI and query results by name (eg ``kpi1 + kpi2``).

Additionally following variables are available in the evaluation context:

Expand All @@ -188,16 +192,18 @@ Additionally following variables are available in the evaluation context:

Examples
********
* bal[70]: variation of the balance of account 70 over the period (it is the same as balp[70].
* bali[70,60]: initial balance of accounts 70 and 60.
* bale[1%]: balance of accounts starting with 1 at end of period.
* crdp[40%]: sum of all credits on accounts starting with 40 during the period.
* debp[55%][('journal_id.code', '=', 'BNK1')]: sum of all debits on accounts 55 and
* ``bal[70]``: variation of the balance of account 70 over the period (it is the same as balp[70].
* ``bali[70,60]``: initial balance of accounts 70 and 60.
* ``bale[1%]``: balance of accounts starting with 1 at end of period.
* ``crdp[40%]``: sum of all credits on accounts starting with 40 during the period.
* ``debp[55%][('journal_id.code', '=', 'BNK1')]``: sum of all debits on accounts 55 and
journal BNK1 during the period.
* balp[('user_type_id', '=', ref('account.data_account_type_receivable').id)][]:
* ``balp[('user_type_id', '=', ref('account.data_account_type_receivable').id)][]``:
variation of the balance of all receivable accounts over the period.
* balp[][('tax_line_id.tag_ids', '=', ref('l10n_be.tax_tag_56').id)]: balance of move
* ``balp[][('tax_line_id.tag_ids', '=', ref('l10n_be.tax_tag_56').id)]``: balance of move
lines related to tax grid 56.
* ``fldp.quantity[60%]``: sum of the quantity field of all move lines on accounts starting
with 60.

Expansion of Account Detail
---------------------------
Expand Down
27 changes: 26 additions & 1 deletion mis_builder/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MIS Builder
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b45e56b4c4c7506c74b119c529cd2c75225b4e401041db3b5e72057ff18eb1e0
!! source digest: sha256:348d965e2a09fab00a015432f994ba12048c05a1387271683d815753eae84af5
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
Expand Down Expand Up @@ -77,6 +77,12 @@ To configure this module, you need to:

|image3|

- On the MIS Reports view, you can add annotations on each cells (except
cells coming from the option "details by account"). Added notes will
be pinted when exporting to PDF and Excel. Only users having either
the group to read or the group to update annotations can see those
annotations.

.. |image1| image:: https://raw.githubusercontent.com/OCA/mis-builder/10.0/mis_builder/static/description/ex_report_template.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/mis-builder/10.0/mis_builder/static/description/ex_report_settings.png
.. |image3| image:: https://raw.githubusercontent.com/OCA/mis-builder/10.0/mis_builder/static/description/ex_report_preview.png
Expand Down Expand Up @@ -104,6 +110,25 @@ can be found on GitHub.
Changelog
=========

18.0.1.7.2 (2025-10-29)
-----------------------

Bugfixes
~~~~~~~~

- Fix computation of currency conversion rates
(`#737 <https://github.com/OCA/mis-builder/issues/737>`__)

18.0.1.5.0 (2025-10-27)
-----------------------

Features
~~~~~~~~

- Introduction of annotations on report cells. Added notes will be
pinted when exporting to PDF and Excel.
(`#678 <https://github.com/OCA/mis-builder/issues/678>`__)

17.0.1.0.2 (2024-11-11)
-----------------------

Expand Down
5 changes: 4 additions & 1 deletion mis_builder/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "MIS Builder",
"version": "18.0.1.2.1",
"version": "18.0.1.8.0",
"category": "Reporting",
"summary": """
Build 'Management Information System' Reports and Dashboards
Expand All @@ -17,6 +17,7 @@
"date_range", # OCA/server-ux
],
"data": [
"security/res_groups.xml",
"wizard/mis_builder_dashboard.xml",
"views/mis_report.xml",
"views/mis_report_instance.xml",
Expand All @@ -32,6 +33,8 @@
"mis_builder/static/src/components/mis_report_widget.esm.js",
"mis_builder/static/src/components/mis_report_widget.xml",
"mis_builder/static/src/components/mis_report_widget.scss",
"mis_builder/static/src/annotation_dialog/annotation_dialog.xml",
"mis_builder/static/src/annotation_dialog/annotation_dialog.esm.js",
],
"web.report_assets_common": [
"mis_builder/static/src/scss/report.scss",
Expand Down
Loading