Skip to content

Commit f3303b4

Browse files
committed
Use the README generator.
1 parent 591c9aa commit f3303b4

25 files changed

+518
-83
lines changed

docs/changes.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/history.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
History
2+
=======
3+
4+
mis_builder
5+
-----------
6+
7+
.. include:: ../mis_builder/HISTORY.rst
8+
9+
mis_builder_budget
10+
------------------
11+
12+
.. include:: ../mis_builder_budget/HISTORY.rst

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ beautiful, custom reports such as P&L, Balance Sheets and more.
1414
:caption: Contents:
1515

1616
intro
17-
changes
17+
history
1818

1919
Indices and tables
2020
==================

mis_builder/README.rst

Lines changed: 269 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,36 @@
1-
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
2-
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
3-
:alt: License: AGPL-3
1+
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2+
!! This file is generated by oca-gen-addon-readme !!
3+
!! changes will be overwritten. !!
4+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
45
56
===========
67
MIS Builder
78
===========
89

10+
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
11+
:target: https://odoo-community.org/page/development-status
12+
:alt: Production/Stable
13+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
14+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
15+
:alt: License: AGPL-3
16+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmis--builder-lightgray.png?logo=github
17+
:target: https://github.com/OCA/mis-builder/tree/10.0/mis_builder
18+
:alt: OCA/mis-builder
19+
.. |badge4| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
20+
:target: https://runbot.odoo-community.org/runbot/248/10.0
21+
:alt: Try me on Runbot
22+
23+
|badge1| |badge2| |badge3| |badge4|
24+
925
This module allows you to build Management Information Systems dashboards.
1026
Such style of reports presents KPI in rows and time periods in columns.
1127
Reports mainly fetch data from account moves, but can also combine data coming
1228
from arbitrary Odoo models. Reports can be exported to PDF, Excel and they
1329
can be added to Odoo dashboards.
1430

31+
.. contents::
32+
:local:
33+
1534
Installation
1635
============
1736

@@ -23,8 +42,8 @@ An easy way to install it with all its dependencies is using pip:
2342
* then restart Odoo, update the addons list in your database, and install
2443
the MIS Builder application.
2544

26-
Configuration and Usage
27-
=======================
45+
Usage
46+
=====
2847

2948
To configure this module, you need to:
3049

@@ -34,31 +53,27 @@ To configure this module, you need to:
3453

3554
.. figure:: https://raw.githubusercontent.com/OCA/mis-builder/10.0/mis_builder/static/description/ex_report_template.png
3655
:alt: Sample report template
37-
:width: 95 %
56+
:width: 80 %
3857
:align: center
3958

4059
* Then in Accounting > Reports > MIS Reporting > MIS Reports you can create report instance by
4160
binding the templates to time periods, hence defining the columns of your reports.
4261

4362
.. figure:: https://raw.githubusercontent.com/OCA/mis-builder/10.0/mis_builder/static/description/ex_report_settings.png
4463
:alt: Sample report configuration
45-
:width: 95 %
64+
:width: 80 %
4665
:align: center
4766

4867
* From the MIS Reports view, you can preview the report, add it to and Odoo dashboard,
4968
and export it to PDF or Excel.
5069

5170
.. figure:: https://raw.githubusercontent.com/OCA/mis-builder/10.0/mis_builder/static/description/ex_report_preview.png
5271
:alt: Sample preview
53-
:width: 95 %
72+
:width: 80 %
5473
:align: center
5574

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/248/10.0
59-
60-
Developer notes
61-
===============
75+
Development
76+
===========
6277

6378
A typical extension is to provide a mechanism to filter reports on analytic dimensions
6479
or operational units. To implement this, you can override _get_additional_move_line_filter
@@ -72,7 +87,224 @@ Known issues / Roadmap
7287

7388
The mis_builder `roadmap <https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement>`_
7489
and `known issues <https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Abug>`_ can
75-
be found on github.
90+
be found on GitHub.
91+
92+
Changelog
93+
=========
94+
95+
10.0.3.2.0 (2018-05-02)
96+
~~~~~~~~~~~~~~~~~~~~~~~
97+
98+
* [FIX] make subkpi ordering deterministic
99+
(`#71 <https://github.com/OCA/mis-builder/issues/71>`_)
100+
* [ADD] report instance level option to disable account expansion,
101+
enabling the creation of detailed templates while deferring the decision
102+
of rendering the details or not to the report instance
103+
(`#74 <https://github.com/OCA/mis-builder/issues/74>`_)
104+
* [ADD] pbal and nbal accounting expressions, to sum positive
105+
and negative balances respectively (ie ignoring accounts with negative,
106+
resp positive balances)
107+
(`#86 <https://github.com/OCA/mis-builder/issues/86>`_)
108+
109+
10.0.3.1.1 (2017-11-14)
110+
~~~~~~~~~~~~~~~~~~~~~~~
111+
112+
New features:
113+
114+
* [ADD] month and year relative periods, easier to use than
115+
date ranges for the most common case.
116+
(`#2 <https://github.com/OCA/mis-builder/issues/2>`_)
117+
* [ADD] multi-company consolidation support, with currency conversion
118+
(the conversion rate date is the end of the reporting period)
119+
(`#7 <https://github.com/OCA/mis-builder/issues/7>`_,
120+
`#3 <https://github.com/OCA/mis-builder/issues/3>`_)
121+
* [ADD] provide ref, datetime, dateutil, time, user in the evaluation
122+
context of move line domains; among other things, this allows using
123+
references to xml ids (such as account types or tax tags) when
124+
querying move lines
125+
(`#26 <https://github.com/OCA/mis-builder/issues/26>`_).
126+
* [ADD] extended account selectors: you can now select accounts using
127+
any domain on account.account, not only account codes
128+
``balp[('user_type_id', '=', ref('account.data_account_type_receivable').id)]``
129+
(`#4 <https://github.com/OCA/mis-builder/issues/4>`_).
130+
* [IMP] in the report instance configuration form, the filters are
131+
now grouped in a notebook page, this improves readability and
132+
extensibility
133+
(`#39 <https://github.com/OCA/mis-builder/issues/39>`_).
134+
135+
Bug fixes:
136+
137+
* [FIX] fix error when saving periods in comparison mode on newly
138+
created (not yet saved) report instances.
139+
`#50 <https://github.com/OCA/mis-builder/pull/50>`_
140+
* [FIX] improve display of Base Date report instance view.
141+
`#51 <https://github.com/OCA/mis-builder/pull/51>`_
142+
143+
Upgrading from 3.0 (breaking changes):
144+
145+
* Alternative move line data sources must have a company_id field.
146+
147+
10.0.3.0.4 (2017-10-14)
148+
~~~~~~~~~~~~~~~~~~~~~~~
149+
150+
Bug fix:
151+
152+
* [FIX] issue with initial balance rounding.
153+
`#30 <https://github.com/OCA/mis-builder/issues/30>`_
154+
155+
10.0.3.0.3 (2017-10-03)
156+
~~~~~~~~~~~~~~~~~~~~~~~
157+
158+
Bug fix:
159+
160+
* [FIX] fix error saving KPI on newly created reports.
161+
`#18 <https://github.com/OCA/mis-builder/issues/18>`_
162+
163+
10.0.3.0.2 (2017-10-01)
164+
~~~~~~~~~~~~~~~~~~~~~~~
165+
166+
New features:
167+
168+
* [ADD] Alternative move line source per report column.
169+
This makes mis buidler accounting expressions work on any model
170+
that has debit, credit, account_id and date fields. Provided you can
171+
expose, say, committed purchases, or your budget as a view with
172+
debit, credit and account_id, this opens up a lot of possibilities
173+
* [ADD] Comparison column source (more flexible than the previous,
174+
now deprecated, comparison mechanism).
175+
CAVEAT: there is no automated migration to the new mechanism.
176+
* [ADD] Sum column source, to create columns that add/subtract
177+
other columns.
178+
* [ADD] mis.kpi.data abstract model as a basis for manual KPI values
179+
supporting automatic ajustment to the reporting time period (the basis
180+
for budget item, but could also server other purposes, such as manually
181+
entering some KPI values, such as number of employee)
182+
* [ADD] mis_builder_budget module providing a new budget data source
183+
* [ADD] new "hide empty" style property
184+
* [IMP] new AEP method to get accounts involved in an expression
185+
(this is useful to find which KPI relate to a given P&L
186+
acount, to implement budget control)
187+
* [IMP] many UI improvements
188+
* [IMP] many code style improvements and some refactoring
189+
* [IMP] add the column date_from, date_to in expression evaluation context,
190+
as well as time, datetime and dateutil modules
191+
192+
Main bug fixes:
193+
194+
* [FIX] deletion of templates and reports (cascade and retricts)
195+
(https://github.com/OCA/account-financial-reporting/issues/281)
196+
* [FIX] copy of reports
197+
(https://github.com/OCA/account-financial-reporting/issues/282)
198+
* [FIX] better error message when periods have wrong/missing dates
199+
(https://github.com/OCA/account-financial-reporting/issues/283)
200+
* [FIX] xlsx export of string types KPI
201+
(https://github.com/OCA/account-financial-reporting/issues/285)
202+
* [FIX] sorting of detail by account
203+
* [FIX] computation bug in detail by account when multiple accounting
204+
expressions were used in a KPI
205+
* [FIX] permission issue when adding report to dashboard with non admin user
206+
207+
10.0.2.0.3 (unreleased)
208+
~~~~~~~~~~~~~~~~~~~~~~~
209+
210+
* [IMP] more robust behaviour in presence of missing expressions
211+
* [FIX] indent style
212+
* [FIX] local variable 'ctx' referenced before assignment when generating
213+
reports with no objects
214+
* [IMP] use fontawesome icons
215+
* [MIG] migrate to 10.0
216+
* [FIX] unicode error when exporting to Excel
217+
* [IMP] provide full access to mis builder style for group Adviser.
218+
219+
9.0.2.0.2 (2016-09-27)
220+
~~~~~~~~~~~~~~~~~~~~~~
221+
222+
* [IMP] Add refresh button in mis report preview.
223+
* [IMP] Widget code changes to allow to add fields in the widget more easily.
224+
225+
9.0.2.0.1 (2016-05-26)
226+
~~~~~~~~~~~~~~~~~~~~~~
227+
228+
* [IMP] remove unused argument in declare_and_compute_period()
229+
for a cleaner API. This is a breaking API changing merged in
230+
urgency before it is used by other modules.
231+
232+
9.0.2.0.0 (2016-05-24)
233+
~~~~~~~~~~~~~~~~~~~~~~
234+
235+
Part of the work for this release has been done at the Sorrento sprint
236+
April 26-29, 2016. The rest (ie a major refactoring) has been done in
237+
the weeks after.
238+
239+
* [IMP] hide button box in edit mode on the report instance settings form
240+
* [FIX] Fix sum aggregation of non-stored fields
241+
(https://github.com/OCA/account-financial-reporting/issues/178)
242+
* [IMP] There is now a default style at the report level
243+
* [CHG] Number display properties (rounding, prefix, suffix, factor) are
244+
now defined in styles
245+
* [CHG] Percentage difference are rounded to 1 digit instead of the kpi's
246+
rounding, as the KPI rounding does not make sense in this case
247+
* [CHG] The divider suffix (k, M, etc) is not inserted automatically anymore
248+
because it is inconsistent when working with prefixes; you need to add it
249+
manually in the suffix
250+
* [IMP] AccountingExpressionProcessor now supports 'balu' expressions
251+
to obtain the unallocated profit/loss of previous fiscal years;
252+
get_unallocated_pl is the corresponding convenience method
253+
* [IMP] AccountingExpressionProcessor now has easy methods to obtain
254+
balances by account: get_balances_initial, get_balances_end,
255+
get_balances_variation
256+
* [IMP] there is now an auto-expand feature to automatically display
257+
a detail by account for selected kpis
258+
* [IMP] the kpi and period lists are now manipulated through forms instead
259+
of directly in the tree views
260+
* [IMP] it is now possible to create a report through a wizard, such
261+
reports are deemed temporary and available through a "Last Reports Generated"
262+
menu, they are garbaged collected automatically, unless saved permanently,
263+
which can be done using a Save button
264+
* [IMP] there is now a beginner mode to configure simple reports with
265+
only one period
266+
* [IMP] it is now easier to configure periods with fixed start/end dates
267+
* [IMP] the new sub-kpi mechanism allows the creation of columns
268+
with multiple values, or columns with different values
269+
* [IMP] thanks to the new style model, the Excel export is now styled
270+
* [IMP] a new style model is now used to centralize style configuration
271+
* [FIX] use =like instead of like to search for accounts, because
272+
the % are added by the user in the expressions
273+
* [FIX] Correctly compute the initial balance of income and expense account
274+
based on the start of the fiscal year
275+
* [IMP] Support date ranges (from OCA/server-tools/date_range) as a more
276+
flexible alternative to fiscal periods
277+
* v9 migration: fiscal periods are removed, account charts are removed,
278+
consolidation accounts have been removed
279+
280+
8.0.1.0.0 (2016-04-27)
281+
~~~~~~~~~~~~~~~~~~~~~~
282+
283+
* The copy of a MIS Report Instance now copies period.
284+
https://github.com/OCA/account-financial-reporting/pull/181
285+
* The copy of a MIS Report Template now copies KPIs and queries.
286+
https://github.com/OCA/account-financial-reporting/pull/177
287+
* Usability: the default view for MIS Report instances is now the rendered preview,
288+
and the settings are accessible through a gear icon in the list view and
289+
a button in the preview.
290+
https://github.com/OCA/account-financial-reporting/pull/170
291+
* Display blank cells instead of 0.0 when there is no data.
292+
https://github.com/OCA/account-financial-reporting/pull/169
293+
* Usability: better layout of the MIS Report periods settings on small screens.
294+
https://github.com/OCA/account-financial-reporting/pull/167
295+
* Include the download buttons inside the MIS Builder widget, and refactor
296+
the widget to open the door to analytic filtering in the previews.
297+
https://github.com/OCA/account-financial-reporting/pull/151
298+
* Add KPI rendering prefixes (so you can print $ in front of the value).
299+
https://github.com/OCA/account-financial-reporting/pull/158
300+
* Add hooks for analytic filtering.
301+
https://github.com/OCA/account-financial-reporting/pull/128
302+
https://github.com/OCA/account-financial-reporting/pull/131
303+
304+
8.0.0.2.0
305+
~~~~~~~~~
306+
307+
Pre-history. Or rather, you need to look at the git log.
76308

77309
Bug Tracker
78310
===========
@@ -81,17 +313,20 @@ Bugs are tracked on `GitHub Issues <https://github.com/OCA/mis-builder/issues>`_
81313
In case of trouble, please check there if your issue has already been reported.
82314
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
83315

316+
Do not contact contributors directly about support or help with technical issues.
317+
84318
Credits
85319
=======
86320

87-
Author
88-
------
321+
Authors
322+
~~~~~~~
89323

90-
* Stéphane Bidoul <[email protected]>
324+
* ACSONE SA/NV
91325

92326
Contributors
93-
------------
327+
~~~~~~~~~~~~
94328

329+
* Stéphane Bidoul <[email protected]>
95330
* Laetitia Gangloff <[email protected]>
96331
* Adrien Peiffer <[email protected]>
97332
* Alexis de Lattre <[email protected]>
@@ -109,17 +344,27 @@ Contributors
109344
* Juan Jose Scarafia <[email protected]>
110345
* Richard deMeester <[email protected]>
111346

112-
Maintainer
113-
----------
347+
Maintainers
348+
~~~~~~~~~~~
349+
350+
This module is maintained by the OCA.
114351

115352
.. image:: https://odoo-community.org/logo.png
116353
:alt: Odoo Community Association
117354
:target: https://odoo-community.org
118355

119-
This module is maintained by the OCA.
120-
121356
OCA, or the Odoo Community Association, is a nonprofit organization whose
122357
mission is to support the collaborative development of Odoo features and
123358
promote its widespread use.
124359

125-
To contribute to this module, please visit https://odoo-community.org.
360+
.. |maintainer-sbidoul| image:: https://github.com/sbidoul.png?size=40px
361+
:target: https://github.com/sbidoul
362+
:alt: sbidoul
363+
364+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`_:
365+
366+
|maintainer-sbidoul|
367+
368+
This module is part of the `OCA/mis-builder <https://github.com/OCA/mis-builder/tree/10.0/mis_builder>`_ project on GitHub.
369+
370+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

0 commit comments

Comments
 (0)