odoo-addon-mis-builder 16.0.5.1.11.2__py3-none-any.whl → 17.0.1.0.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. odoo/addons/mis_builder/README.rst +474 -429
  2. odoo/addons/mis_builder/__manifest__.py +1 -1
  3. odoo/addons/mis_builder/i18n/ca.po +5 -18
  4. odoo/addons/mis_builder/i18n/de.po +0 -16
  5. odoo/addons/mis_builder/i18n/el.po +0 -16
  6. odoo/addons/mis_builder/i18n/el_GR.po +0 -16
  7. odoo/addons/mis_builder/i18n/es.po +3 -16
  8. odoo/addons/mis_builder/i18n/fr.po +7 -20
  9. odoo/addons/mis_builder/i18n/hr.po +2 -18
  10. odoo/addons/mis_builder/i18n/it.po +12 -25
  11. odoo/addons/mis_builder/i18n/mis_builder.pot +1 -17
  12. odoo/addons/mis_builder/i18n/nl.po +3 -16
  13. odoo/addons/mis_builder/i18n/nl_NL.po +3 -16
  14. odoo/addons/mis_builder/i18n/pt.po +3 -16
  15. odoo/addons/mis_builder/i18n/pt_BR.po +3 -16
  16. odoo/addons/mis_builder/i18n/sv.po +8 -20
  17. odoo/addons/mis_builder/i18n/tr.po +0 -16
  18. odoo/addons/mis_builder/models/aep.py +1 -1
  19. odoo/addons/mis_builder/models/expression_evaluator.py +1 -1
  20. odoo/addons/mis_builder/models/kpimatrix.py +5 -2
  21. odoo/addons/mis_builder/models/mis_kpi_data.py +1 -3
  22. odoo/addons/mis_builder/models/mis_report.py +18 -19
  23. odoo/addons/mis_builder/models/mis_report_instance.py +4 -9
  24. odoo/addons/mis_builder/readme/CONTRIBUTORS.md +29 -0
  25. odoo/addons/mis_builder/readme/DESCRIPTION.md +5 -0
  26. odoo/addons/mis_builder/readme/DEVELOP.md +7 -0
  27. odoo/addons/mis_builder/readme/HISTORY.md +542 -0
  28. odoo/addons/mis_builder/readme/INSTALL.md +7 -0
  29. odoo/addons/mis_builder/readme/ROADMAP.md +5 -0
  30. odoo/addons/mis_builder/readme/USAGE.md +19 -0
  31. odoo/addons/mis_builder/static/description/index.html +305 -238
  32. odoo/addons/mis_builder/static/src/components/mis_report_widget.esm.js +7 -4
  33. odoo/addons/mis_builder/static/src/components/mis_report_widget.xml +5 -5
  34. odoo/addons/mis_builder/tests/test_aep.py +17 -2
  35. odoo/addons/mis_builder/views/mis_report.xml +7 -11
  36. odoo/addons/mis_builder/views/mis_report_instance.xml +38 -47
  37. odoo/addons/mis_builder/views/mis_report_style.xml +12 -46
  38. odoo_addon_mis_builder-17.0.1.0.0.3.dist-info/METADATA +778 -0
  39. {odoo_addon_mis_builder-16.0.5.1.11.2.dist-info → odoo_addon_mis_builder-17.0.1.0.0.3.dist-info}/RECORD +41 -44
  40. odoo/addons/mis_builder/migrations/16.0.5.0.0/end-migrate.py +0 -10
  41. odoo/addons/mis_builder/migrations/8.0.2.0.0/post-migration.py +0 -29
  42. odoo/addons/mis_builder/migrations/8.0.2.0.0/pre-migration.py +0 -20
  43. odoo/addons/mis_builder/readme/CONTRIBUTORS.rst +0 -27
  44. odoo/addons/mis_builder/readme/DESCRIPTION.rst +0 -5
  45. odoo/addons/mis_builder/readme/DEVELOP.rst +0 -6
  46. odoo/addons/mis_builder/readme/HISTORY.rst +0 -539
  47. odoo/addons/mis_builder/readme/INSTALL.rst +0 -7
  48. odoo/addons/mis_builder/readme/ROADMAP.rst +0 -3
  49. odoo/addons/mis_builder/readme/USAGE.rst +0 -26
  50. odoo_addon_mis_builder-16.0.5.1.11.2.dist-info/METADATA +0 -733
  51. {odoo_addon_mis_builder-16.0.5.1.11.2.dist-info → odoo_addon_mis_builder-17.0.1.0.0.3.dist-info}/WHEEL +0 -0
  52. {odoo_addon_mis_builder-16.0.5.1.11.2.dist-info → odoo_addon_mis_builder-17.0.1.0.0.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,778 @@
1
+ Metadata-Version: 2.1
2
+ Name: odoo-addon-mis_builder
3
+ Version: 17.0.1.0.0.3
4
+ Requires-Python: >=3.10
5
+ Requires-Dist: odoo-addon-date_range>=17.0dev,<17.1dev
6
+ Requires-Dist: odoo-addon-report_xlsx>=17.0dev,<17.1dev
7
+ Requires-Dist: odoo>=17.0a,<17.1dev
8
+ Summary: Build 'Management Information System' Reports and Dashboards
9
+ Home-page: https://github.com/OCA/mis-builder
10
+ License: AGPL-3
11
+ Author: ACSONE SA/NV, Odoo Community Association (OCA)
12
+ Author-email: support@odoo-community.org
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Framework :: Odoo
15
+ Classifier: Framework :: Odoo :: 17.0
16
+ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
17
+ Classifier: Development Status :: 5 - Production/Stable
18
+
19
+ ===========
20
+ MIS Builder
21
+ ===========
22
+
23
+ ..
24
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
25
+ !! This file is generated by oca-gen-addon-readme !!
26
+ !! changes will be overwritten. !!
27
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
28
+ !! source digest: sha256:f8989a4fefbc9688a39969027c326e5999fc1eff237716e8dbe5d54550584837
29
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
30
+
31
+ .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
32
+ :target: https://odoo-community.org/page/development-status
33
+ :alt: Production/Stable
34
+ .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
35
+ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
36
+ :alt: License: AGPL-3
37
+ .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmis--builder-lightgray.png?logo=github
38
+ :target: https://github.com/OCA/mis-builder/tree/17.0/mis_builder
39
+ :alt: OCA/mis-builder
40
+ .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
41
+ :target: https://translation.odoo-community.org/projects/mis-builder-17-0/mis-builder-17-0-mis_builder
42
+ :alt: Translate me on Weblate
43
+ .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
44
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/mis-builder&target_branch=17.0
45
+ :alt: Try me on Runboat
46
+
47
+ |badge1| |badge2| |badge3| |badge4| |badge5|
48
+
49
+ This module allows you to build Management Information Systems
50
+ dashboards. Such style of reports presents KPI in rows and time periods
51
+ in columns. Reports mainly fetch data from account moves, but can also
52
+ combine data coming from arbitrary Odoo models. Reports can be exported
53
+ to PDF, Excel and they can be added to Odoo dashboards.
54
+
55
+ **Table of contents**
56
+
57
+ .. contents::
58
+ :local:
59
+
60
+ Installation
61
+ ============
62
+
63
+ Your preferred way to install addons will work with MIS Builder.
64
+
65
+ An easy way to install it with all its dependencies is using pip:
66
+
67
+ - ``pip install --pre odoo12-addon-mis_builder``
68
+ - then restart Odoo, update the addons list in your database, and
69
+ install the MIS Builder application.
70
+
71
+ Usage
72
+ =====
73
+
74
+ To configure this module, you need to:
75
+
76
+ - Go to Accounting > Configuration > MIS Reporting > MIS Report
77
+ Templates where you can create report templates by defining KPI's.
78
+ KPI's constitute the rows of your reports. Such report templates are
79
+ time independent.
80
+
81
+ |image1|
82
+
83
+ - Then in Accounting > Reports > MIS Reporting > MIS Reports you can
84
+ create report instance by binding the templates to time periods,
85
+ hence defining the columns of your reports.
86
+
87
+ |image2|
88
+
89
+ - From the MIS Reports view, you can preview the report, add it to and
90
+ Odoo dashboard, and export it to PDF or Excel.
91
+
92
+ |image3|
93
+
94
+ .. |image1| image:: https://raw.githubusercontent.com/OCA/mis-builder/10.0/mis_builder/static/description/ex_report_template.png
95
+ .. |image2| image:: https://raw.githubusercontent.com/OCA/mis-builder/10.0/mis_builder/static/description/ex_report_settings.png
96
+ .. |image3| image:: https://raw.githubusercontent.com/OCA/mis-builder/10.0/mis_builder/static/description/ex_report_preview.png
97
+
98
+ Development
99
+ ===========
100
+
101
+ A typical extension is to provide a mechanism to filter reports on
102
+ analytic dimensions or operational units. To implement this, you can
103
+ override \_get_additional_move_line_filter and \_get_additional_filter
104
+ to further filter move lines or queries based on a user selection. A
105
+ typical use case could be to add an analytic account field on
106
+ mis.report.instance, or even on mis.report.instance.period if you want
107
+ different columns to show different analytic accounts.
108
+
109
+ Known issues / Roadmap
110
+ ======================
111
+
112
+ The mis_builder
113
+ `roadmap <https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement>`__
114
+ and `known
115
+ issues <https://github.com/OCA/mis-builder/issues?q=is%3Aopen+is%3Aissue+label%3Abug>`__
116
+ can be found on GitHub.
117
+
118
+ Changelog
119
+ =========
120
+
121
+ 16.0.5.1.9 (2024-02-09)
122
+ -----------------------
123
+
124
+ **Bugfixes**
125
+
126
+ - Restore compatibility with python 3.9
127
+ (`#590 <https://github.com/OCA/mis-builder/issues/590>`__)
128
+
129
+ 16.0.5.1.8 (2024-02-08)
130
+ -----------------------
131
+
132
+ **Bugfixes**
133
+
134
+ - Resolve a permission issue when creating report periods with a user
135
+ without admin rights.
136
+ (`#596 <https://github.com/OCA/mis-builder/issues/596>`__)
137
+
138
+ 16.0.5.1.0 (2023-04-04)
139
+ -----------------------
140
+
141
+ **Features**
142
+
143
+ - Improve UX by adding the option to edit the pivot date directly on
144
+ the view.
145
+
146
+ 16.0.5.0.0 (2023-04-01)
147
+ -----------------------
148
+
149
+ **Features**
150
+
151
+ - Migration to 16.0
152
+
153
+ - Addition of a generic filter domain on reports and columns.
154
+ - Addition of a search bar to the widget. The corresponding search
155
+ view is configurable per report.
156
+ - Huge improvement of the widget style. This was long overdue.
157
+ - Make the MIS Report menu accessible to the Billing Administrator
158
+ group (instead of the hidden Show Full Accounting Features), to
159
+ align with the access rules and avoid giving a false sense of
160
+ security. This also makes the menu discoverable to new users.
161
+ - Removal of analytic fetures because the upstream
162
+ ``analytic_distribution`` mechanism is not compatible; support may
163
+ be introduced in separate module, depending on use cases.
164
+ - Abandon the ``mis_report_filters`` context key which had security
165
+ implication. It is replaced by a ``mis_analytic_domain`` context
166
+ key which is ANDed with other report-defined filters.
167
+ (`#472 <https://github.com/OCA/mis-builder/issues/472>`__)
168
+ - Rename the ``get_filter_descriptions_from_context`` method to
169
+ ``get_filter_descriptions``. This method may be overridden to
170
+ provide additional subtitles on the PDF or XLS report,
171
+ representing user-selected filters.
172
+ - The ``hide_analytic_filters`` has been replaced by
173
+ ``widget_show_filters``.
174
+ - The visibility of the settings button on the widget is now
175
+ controlled by a ``show_settings_button``. Before it was visible
176
+ only for the ``account_user`` group but this was not flexible
177
+ enough.
178
+ - The widget configuration settings are now grouped in a dedicated
179
+ ``Widget`` tab in the report configuration form.
180
+
181
+ **Bugfixes**
182
+
183
+ - Fix access error when previewing or printing report.
184
+ (`#415 <https://github.com/OCA/mis-builder/issues/415>`__)
185
+
186
+ 15.0.4.0.5 (2022-07-19)
187
+ -----------------------
188
+
189
+ **Bugfixes**
190
+
191
+ - Support users without timezone.
192
+ (`#388 <https://github.com/OCA/mis-builder/issues/388>`__)
193
+
194
+ 15.0.4.0.4 (2022-07-19)
195
+ -----------------------
196
+
197
+ **Bugfixes**
198
+
199
+ - Allow deleting a report that has subreports.
200
+ (`#431 <https://github.com/OCA/mis-builder/issues/431>`__)
201
+
202
+ 15.0.4.0.2 (2022-02-16)
203
+ -----------------------
204
+
205
+ **Bugfixes**
206
+
207
+ - Fix access right issue when clicking the "Save" button on a MIS
208
+ Report Instance form.
209
+ (`#410 <https://github.com/OCA/mis-builder/issues/410>`__)
210
+
211
+ 14.0.4.0.0 (2022-01-08)
212
+ -----------------------
213
+
214
+ **Features**
215
+
216
+ - Remove various field size limits.
217
+ (`#332 <https://github.com/OCA/mis-builder/issues/332>`__)
218
+
219
+ **Bugfixes**
220
+
221
+ - Support for the Odoo 13+ multi-company model. In multi-company mode,
222
+ several allowed companies can be declared on MIS Report instances,
223
+ and the report operates on the intersection of report companies and
224
+ companies selected in the user context.
225
+ (`#327 <https://github.com/OCA/mis-builder/issues/327>`__)
226
+
227
+ - The ``get_additional_query_filter`` argument of ``evaluate()`` is now
228
+ propagated correctly.
229
+ (`#375 <https://github.com/OCA/mis-builder/issues/375>`__)
230
+
231
+ - Use the ``parent_state`` field of ``account.move.line`` to filter
232
+ entries in ``posted`` and ``draft`` state only. Before, when
233
+ reporting in draft mode, all entries were used (i.e. there was no
234
+ filter), and that started including the cancelled entries/invoices in
235
+ Odoo 13.+.
236
+
237
+ This change also contains a **breaking change** in the internal API.
238
+ For quite a while the ``target_move argument`` of AEP and other
239
+ methods was not used by MIS Builder itself and was kept for backward
240
+ compatibility. To avoid rippling effects of the necessary change to
241
+ use ``parent_state``, we now remove this argument.
242
+ (`#377 <https://github.com/OCA/mis-builder/issues/377>`__)
243
+
244
+ 14.0.3.6.7 (2021-06-02)
245
+ -----------------------
246
+
247
+ **Bugfixes**
248
+
249
+ - When on a MIS Report Instance, if you wanted to generate a new line
250
+ of type comparison, you couldn't currently select any existing period
251
+ to compare. This happened because the field domain was searching in a
252
+ NewId context, thus not finding a correct period. Changing the domain
253
+ and making it use a computed field with a search for the \_origin
254
+ record solves the problem.
255
+ (`#361 <https://github.com/OCA/mis-builder/issues/361>`__)
256
+
257
+ 14.0.3.6.6 (2021-04-23)
258
+ -----------------------
259
+
260
+ **Bugfixes**
261
+
262
+ - Fix drilldown action name when the account model has been customized.
263
+ (`#350 <https://github.com/OCA/mis-builder/issues/350>`__)
264
+
265
+ 14.0.3.6.5 (2021-04-23)
266
+ -----------------------
267
+
268
+ **Bugfixes**
269
+
270
+ - While duplicating a MIS report instance, comparison columns are
271
+ ignored because they would raise an error otherwise, as they keep the
272
+ old source_cmpcol_from_id and source_cmpcol_to_id from the original
273
+ record. (`#343 <https://github.com/OCA/mis-builder/issues/343>`__)
274
+
275
+ 14.0.3.6.4 (2021-04-06)
276
+ -----------------------
277
+
278
+ **Features**
279
+
280
+ - The drilldown action name displayed on the breadcrumb has been
281
+ revised. The kpi description and the account ``display_name`` are
282
+ shown instead of the kpi's technical definition.
283
+ (`#304 <https://github.com/OCA/mis-builder/issues/304>`__)
284
+ - Add analytic group filters on report instance, periods and in the
285
+ interactive view.
286
+ (`#320 <https://github.com/OCA/mis-builder/issues/320>`__)
287
+
288
+ 13.0.3.6.3 (2020-08-28)
289
+ -----------------------
290
+
291
+ **Bugfixes**
292
+
293
+ - Having a "Compare columns" added on a KPI with an associated style
294
+ using a Factor/Divider did lead to the said factor being applied on
295
+ the percentages when exporting to XLSX.
296
+ (`#300 <https://github.com/OCA/mis-builder/issues/300>`__)
297
+
298
+ **Misc**
299
+
300
+ - `#280 <https://github.com/OCA/mis-builder/issues/280>`__,
301
+ `#296 <https://github.com/OCA/mis-builder/issues/296>`__
302
+
303
+ 13.0.3.6.2 (2020-04-22)
304
+ -----------------------
305
+
306
+ **Bugfixes**
307
+
308
+ - The "Settings" button is now displayed for users with the "Show full
309
+ accounting features" right when previewing a report.
310
+ (`#281 <https://github.com/OCA/mis-builder/issues/281>`__)
311
+
312
+ 13.0.3.6.1 (2020-04-22)
313
+ -----------------------
314
+
315
+ **Bugfixes**
316
+
317
+ - Fix ``TypeError: 'module' object is not iterable`` when using budgets
318
+ by account.
319
+ (`#276 <https://github.com/OCA/mis-builder/issues/276>`__)
320
+
321
+ 13.0.3.6.0 (2020-03-28)
322
+ -----------------------
323
+
324
+ **Features**
325
+
326
+ - Add column-level filters on analytic account and analytic tags. These
327
+ filters are combined with a AND with the report-level filters and
328
+ cannot be modified in the preview.
329
+ (`#138 <https://github.com/OCA/mis-builder/issues/138>`__)
330
+ - Access to KPI from other reports in KPI expressions, aka subreports.
331
+ In a report template, one can list named "subreports" (other report
332
+ templates). When evaluating expressions, you can access KPI's of
333
+ subreports with a dot-prefix notation. Example: you can define a MIS
334
+ Report for a "Balance Sheet", and then have another MIS Report
335
+ "Balance Sheet Ratios" that fetches KPI's from "Balance Sheet" to
336
+ create new KPI's for the ratios (e.g. balance_sheet.current_assets /
337
+ balance_sheet.total_assets).
338
+ (`#155 <https://github.com/OCA/mis-builder/issues/155>`__)
339
+
340
+ 13.0.3.5.0 (2020-01-??)
341
+ -----------------------
342
+
343
+ Migration to odoo 13.0.
344
+
345
+ 12.0.3.5.0 (2019-10-26)
346
+ -----------------------
347
+
348
+ **Features**
349
+
350
+ - The ``account_id`` field of the model selected in 'Move lines source'
351
+ in the Period form can now be a Many2one relationship with any model
352
+ that has a ``code`` field (not only with ``account.account`` model).
353
+ To this end, the model to be used for Actuals move lines can be
354
+ configured on the report template. It can be something else than move
355
+ lines and the only constraint is that its ``account_id`` field has a
356
+ ``code`` field.
357
+ (`#149 <https://github.com/oca/mis-builder/issues/149>`__)
358
+ - Add ``source_aml_model_name`` field so extension modules providing
359
+ alternative data sources can more easily customize their data source.
360
+ (`#214 <https://github.com/oca/mis-builder/issues/214>`__)
361
+ - Support analytic tag filters in the backend view and preview widget.
362
+ Selecting several tags in the filter means filtering on move lines
363
+ which have *all* these tags set. This is to support the most common
364
+ use case of using tags for different dimensions. The filter also
365
+ makes a AND with the analytic account filter.
366
+ (`#228 <https://github.com/oca/mis-builder/issues/228>`__)
367
+ - Display company in account details rows in multi-company mode.
368
+ (`#242 <https://github.com/oca/mis-builder/issues/242>`__)
369
+
370
+ **Bugfixes**
371
+
372
+ - Propagate context to xlsx report, so the analytic account filter
373
+ works when exporting to xslx too. This also requires a fix to
374
+ ``report_xlsx`` (see
375
+ https://github.com/OCA/reporting-engine/pull/259).
376
+ (`#178 <https://github.com/oca/mis-builder/issues/178>`__)
377
+ - In columns of type Sum, preserve styles for KPIs that are not
378
+ summable (eg percentage values). Before this fix, such cells were
379
+ displayed without style.
380
+ (`#219 <https://github.com/oca/mis-builder/issues/219>`__)
381
+ - In Excel export, keep the percentage point suffix (pp) instead of
382
+ replacing it with %.
383
+ (`#220 <https://github.com/oca/mis-builder/issues/220>`__)
384
+
385
+ 12.0.3.4.0 (2019-07-09)
386
+ -----------------------
387
+
388
+ **Features**
389
+
390
+ - New year-to-date mode for defining periods.
391
+ (`#165 <https://github.com/oca/mis-builder/issues/165>`__)
392
+ - Add support for move lines with negative debit or credit. Used by
393
+ some for storno accounting. Not officially supported.
394
+ (`#175 <https://github.com/oca/mis-builder/issues/175>`__)
395
+ - In Excel export, use a number format with thousands separator. The
396
+ specific separator used depends on the Excel configuration (eg
397
+ regional settings).
398
+ (`#190 <https://github.com/oca/mis-builder/issues/190>`__)
399
+ - Add generation date/time at the end of the XLS export.
400
+ (`#191 <https://github.com/oca/mis-builder/issues/191>`__)
401
+ - In presence of Sub KPIs, report more informative user errors when
402
+ non-multi expressions yield tuples of incorrect lenght.
403
+ (`#196 <https://github.com/oca/mis-builder/issues/196>`__)
404
+
405
+ **Bugfixes**
406
+
407
+ - Fix rendering of percentage types in Excel export.
408
+ (`#192 <https://github.com/oca/mis-builder/issues/192>`__)
409
+
410
+ 12.0.3.3.0 (2019-01-26)
411
+ -----------------------
412
+
413
+ **Features**
414
+
415
+ *Dynamic analytic filters in report preview are not yet available in 11,
416
+ this requires an update to the JS widget that proved difficult to
417
+ implement so far. Help welcome.*
418
+
419
+ - Analytic account filters. On a report, an analytic account can be
420
+ selected for filtering. The filter will be applied to move lines
421
+ queries. A filter box is also available in the widget to let the user
422
+ select the analytic account during report preview.
423
+ (`#15 <https://github.com/oca/mis-builder/issues/15>`__)
424
+ - Control visibility of analytic filter combo box in widget. This is
425
+ useful to hide the analytic filters on reports where they do not make
426
+ sense, such as balance sheet reports.
427
+ (`#42 <https://github.com/oca/mis-builder/issues/42>`__)
428
+ - Display analytic filters in the header of exported pdf and xls.
429
+ (`#44 <https://github.com/oca/mis-builder/issues/44>`__)
430
+ - Replace the last old gtk icons with fontawesome icons.
431
+ (`#104 <https://github.com/oca/mis-builder/issues/104>`__)
432
+ - Use active_test=False in AEP queries. This is important for reports
433
+ involving inactive taxes. This should not negatively effect existing
434
+ reports, because an accounting report must take into account all
435
+ existing move lines even if they reference objects such as taxes,
436
+ journals, accounts types that have been deactivated since their
437
+ creation. (`#107 <https://github.com/oca/mis-builder/issues/107>`__)
438
+ - int(), float() and round() support for AccountingNone.
439
+ (`#108 <https://github.com/oca/mis-builder/issues/108>`__)
440
+ - Allow referencing subkpis by name by writing kpi_x.subkpi_y in
441
+ expressions.
442
+ (`#114 <https://github.com/oca/mis-builder/issues/114>`__)
443
+ - Add an option to control the display of the start/end dates in the
444
+ column headers. It is disabled by default (this is a change compared
445
+ to previous behaviour).
446
+ (`#118 <https://github.com/oca/mis-builder/issues/118>`__)
447
+ - Add evaluate method to mis.report. This is a simplified method to
448
+ evaluate kpis of a report over a time period, without creating a
449
+ mis.report.instance.
450
+ (`#123 <https://github.com/oca/mis-builder/issues/123>`__)
451
+
452
+ **Bugs**
453
+
454
+ - In the style form, hide the "Hide always" checkbox when "Hide always
455
+ inherit" is checked, as for all other syle elements.
456
+ (`#121 <https://github.com/OCA/mis-builder/pull/121>`__)
457
+
458
+ **Upgrading from 3.2 (breaking changes)**
459
+
460
+ If you use ``Actuals (alternative)`` data source in combination with
461
+ analytic filters, the underlying model must now have an
462
+ ``analytic_account_id`` field.
463
+
464
+ 11.0.3.2.2 (2018-06-30)
465
+ -----------------------
466
+
467
+ - [FIX] Fix bug in company_default_get call returning id instead of
468
+ recordset (`#103 <https://github.com/OCA/mis-builder/pull/103>`__)
469
+ - [IMP] add "hide always" style property to make hidden KPI's (for KPI
470
+ that serve as basis for other formulas, but do not need to be
471
+ displayed). (`#46 <https://github.com/OCA/mis-builder/issues/46>`__)
472
+
473
+ 11.0.3.2.1 (2018-05-29)
474
+ -----------------------
475
+
476
+ - [FIX] Missing comparison operator for AccountingNone leading to
477
+ errors in pbal computations
478
+ (`#93 <https://github.com/OCA/mis-builder/issue/93>`__)
479
+
480
+ 10.0.3.2.0 (2018-05-02)
481
+ -----------------------
482
+
483
+ - [FIX] make subkpi ordering deterministic
484
+ (`#71 <https://github.com/OCA/mis-builder/issues/71>`__)
485
+ - [ADD] report instance level option to disable account expansion,
486
+ enabling the creation of detailed templates while deferring the
487
+ decision of rendering the details or not to the report instance
488
+ (`#74 <https://github.com/OCA/mis-builder/issues/74>`__)
489
+ - [ADD] pbal and nbal accounting expressions, to sum positive and
490
+ negative balances respectively (ie ignoring accounts with negative,
491
+ resp positive balances)
492
+ (`#86 <https://github.com/OCA/mis-builder/issues/86>`__)
493
+
494
+ 11.0.3.1.2 (2018-02-04)
495
+ -----------------------
496
+
497
+ Migration to Odoo 11. No new feature.
498
+ (`#67 <https://github.com/OCA/mis-builder/pull/67>`__)
499
+
500
+ 10.0.3.1.1 (2017-11-14)
501
+ -----------------------
502
+
503
+ New features:
504
+
505
+ - [ADD] month and year relative periods, easier to use than date ranges
506
+ for the most common case.
507
+ (`#2 <https://github.com/OCA/mis-builder/issues/2>`__)
508
+ - [ADD] multi-company consolidation support, with currency conversion
509
+ (the conversion rate date is the end of the reporting period)
510
+ (`#7 <https://github.com/OCA/mis-builder/issues/7>`__,
511
+ `#3 <https://github.com/OCA/mis-builder/issues/3>`__)
512
+ - [ADD] provide ref, datetime, dateutil, time, user in the evaluation
513
+ context of move line domains; among other things, this allows using
514
+ references to xml ids (such as account types or tax tags) when
515
+ querying move lines
516
+ (`#26 <https://github.com/OCA/mis-builder/issues/26>`__).
517
+ - [ADD] extended account selectors: you can now select accounts using
518
+ any domain on account.account, not only account codes
519
+ ``balp[('account_type', '=', 'asset_receivable')]``
520
+ (`#4 <https://github.com/OCA/mis-builder/issues/4>`__).
521
+ - [IMP] in the report instance configuration form, the filters are now
522
+ grouped in a notebook page, this improves readability and
523
+ extensibility
524
+ (`#39 <https://github.com/OCA/mis-builder/issues/39>`__).
525
+
526
+ Bug fixes:
527
+
528
+ - [FIX] fix error when saving periods in comparison mode on newly
529
+ created (not yet saved) report instances.
530
+ `#50 <https://github.com/OCA/mis-builder/pull/50>`__
531
+ - [FIX] improve display of Base Date report instance view.
532
+ `#51 <https://github.com/OCA/mis-builder/pull/51>`__
533
+
534
+ Upgrading from 3.0 (breaking changes):
535
+
536
+ - Alternative move line data sources must have a company_id field.
537
+
538
+ 10.0.3.0.4 (2017-10-14)
539
+ -----------------------
540
+
541
+ Bug fix:
542
+
543
+ - [FIX] issue with initial balance rounding.
544
+ `#30 <https://github.com/OCA/mis-builder/issues/30>`__
545
+
546
+ 10.0.3.0.3 (2017-10-03)
547
+ -----------------------
548
+
549
+ Bug fix:
550
+
551
+ - [FIX] fix error saving KPI on newly created reports.
552
+ `#18 <https://github.com/OCA/mis-builder/issues/18>`__
553
+
554
+ 10.0.3.0.2 (2017-10-01)
555
+ -----------------------
556
+
557
+ New features:
558
+
559
+ - [ADD] Alternative move line source per report column. This makes mis
560
+ buidler accounting expressions work on any model that has debit,
561
+ credit, account_id and date fields. Provided you can expose, say,
562
+ committed purchases, or your budget as a view with debit, credit and
563
+ account_id, this opens up a lot of possibilities
564
+ - [ADD] Comparison column source (more flexible than the previous, now
565
+ deprecated, comparison mechanism). CAVEAT: there is no automated
566
+ migration to the new mechanism.
567
+ - [ADD] Sum column source, to create columns that add/subtract other
568
+ columns.
569
+ - [ADD] mis.kpi.data abstract model as a basis for manual KPI values
570
+ supporting automatic ajustment to the reporting time period (the
571
+ basis for budget item, but could also server other purposes, such as
572
+ manually entering some KPI values, such as number of employee)
573
+ - [ADD] mis_builder_budget module providing a new budget data source
574
+ - [ADD] new "hide empty" style property
575
+ - [IMP] new AEP method to get accounts involved in an expression (this
576
+ is useful to find which KPI relate to a given P&L acount, to
577
+ implement budget control)
578
+ - [IMP] many UI improvements
579
+ - [IMP] many code style improvements and some refactoring
580
+ - [IMP] add the column date_from, date_to in expression evaluation
581
+ context, as well as time, datetime and dateutil modules
582
+
583
+ Main bug fixes:
584
+
585
+ - [FIX] deletion of templates and reports (cascade and retricts)
586
+ (https://github.com/OCA/account-financial-reporting/issues/281)
587
+ - [FIX] copy of reports
588
+ (https://github.com/OCA/account-financial-reporting/issues/282)
589
+ - [FIX] better error message when periods have wrong/missing dates
590
+ (https://github.com/OCA/account-financial-reporting/issues/283)
591
+ - [FIX] xlsx export of string types KPI
592
+ (https://github.com/OCA/account-financial-reporting/issues/285)
593
+ - [FIX] sorting of detail by account
594
+ - [FIX] computation bug in detail by account when multiple accounting
595
+ expressions were used in a KPI
596
+ - [FIX] permission issue when adding report to dashboard with non admin
597
+ user
598
+
599
+ 10.0.2.0.3 (unreleased)
600
+ -----------------------
601
+
602
+ - [IMP] more robust behaviour in presence of missing expressions
603
+ - [FIX] indent style
604
+ - [FIX] local variable 'ctx' referenced before assignment when
605
+ generating reports with no objects
606
+ - [IMP] use fontawesome icons
607
+ - [MIG] migrate to 10.0
608
+ - [FIX] unicode error when exporting to Excel
609
+ - [IMP] provide full access to mis builder style for group Adviser.
610
+
611
+ 9.0.2.0.2 (2016-09-27)
612
+ ----------------------
613
+
614
+ - [IMP] Add refresh button in mis report preview.
615
+ - [IMP] Widget code changes to allow to add fields in the widget more
616
+ easily.
617
+
618
+ 9.0.2.0.1 (2016-05-26)
619
+ ----------------------
620
+
621
+ - [IMP] remove unused argument in declare_and_compute_period() for a
622
+ cleaner API. This is a breaking API changing merged in urgency before
623
+ it is used by other modules.
624
+
625
+ 9.0.2.0.0 (2016-05-24)
626
+ ----------------------
627
+
628
+ Part of the work for this release has been done at the Sorrento sprint
629
+ April 26-29, 2016. The rest (ie a major refactoring) has been done in
630
+ the weeks after.
631
+
632
+ - [IMP] hide button box in edit mode on the report instance settings
633
+ form
634
+ - [FIX] Fix sum aggregation of non-stored fields
635
+ (https://github.com/OCA/account-financial-reporting/issues/178)
636
+ - [IMP] There is now a default style at the report level
637
+ - [CHG] Number display properties (rounding, prefix, suffix, factor)
638
+ are now defined in styles
639
+ - [CHG] Percentage difference are rounded to 1 digit instead of the
640
+ kpi's rounding, as the KPI rounding does not make sense in this case
641
+ - [CHG] The divider suffix (k, M, etc) is not inserted automatically
642
+ anymore because it is inconsistent when working with prefixes; you
643
+ need to add it manually in the suffix
644
+ - [IMP] AccountingExpressionProcessor now supports 'balu' expressions
645
+ to obtain the unallocated profit/loss of previous fiscal years;
646
+ get_unallocated_pl is the corresponding convenience method
647
+ - [IMP] AccountingExpressionProcessor now has easy methods to obtain
648
+ balances by account: get_balances_initial, get_balances_end,
649
+ get_balances_variation
650
+ - [IMP] there is now an auto-expand feature to automatically display a
651
+ detail by account for selected kpis
652
+ - [IMP] the kpi and period lists are now manipulated through forms
653
+ instead of directly in the tree views
654
+ - [IMP] it is now possible to create a report through a wizard, such
655
+ reports are deemed temporary and available through a "Last Reports
656
+ Generated" menu, they are garbaged collected automatically, unless
657
+ saved permanently, which can be done using a Save button
658
+ - [IMP] there is now a beginner mode to configure simple reports with
659
+ only one period
660
+ - [IMP] it is now easier to configure periods with fixed start/end
661
+ dates
662
+ - [IMP] the new sub-kpi mechanism allows the creation of columns with
663
+ multiple values, or columns with different values
664
+ - [IMP] thanks to the new style model, the Excel export is now styled
665
+ - [IMP] a new style model is now used to centralize style configuration
666
+ - [FIX] use =like instead of like to search for accounts, because the %
667
+ are added by the user in the expressions
668
+ - [FIX] Correctly compute the initial balance of income and expense
669
+ account based on the start of the fiscal year
670
+ - [IMP] Support date ranges (from OCA/server-tools/date_range) as a
671
+ more flexible alternative to fiscal periods
672
+ - v9 migration: fiscal periods are removed, account charts are removed,
673
+ consolidation accounts have been removed
674
+
675
+ 8.0.1.0.0 (2016-04-27)
676
+ ----------------------
677
+
678
+ - The copy of a MIS Report Instance now copies period.
679
+ https://github.com/OCA/account-financial-reporting/pull/181
680
+ - The copy of a MIS Report Template now copies KPIs and queries.
681
+ https://github.com/OCA/account-financial-reporting/pull/177
682
+ - Usability: the default view for MIS Report instances is now the
683
+ rendered preview, and the settings are accessible through a gear icon
684
+ in the list view and a button in the preview.
685
+ https://github.com/OCA/account-financial-reporting/pull/170
686
+ - Display blank cells instead of 0.0 when there is no data.
687
+ https://github.com/OCA/account-financial-reporting/pull/169
688
+ - Usability: better layout of the MIS Report periods settings on small
689
+ screens. https://github.com/OCA/account-financial-reporting/pull/167
690
+ - Include the download buttons inside the MIS Builder widget, and
691
+ refactor the widget to open the door to analytic filtering in the
692
+ previews. https://github.com/OCA/account-financial-reporting/pull/151
693
+ - Add KPI rendering prefixes (so you can print $ in front of the
694
+ value). https://github.com/OCA/account-financial-reporting/pull/158
695
+ - Add hooks for analytic filtering.
696
+ https://github.com/OCA/account-financial-reporting/pull/128
697
+ https://github.com/OCA/account-financial-reporting/pull/131
698
+
699
+ 8.0.0.2.0
700
+ ---------
701
+
702
+ Pre-history. Or rather, you need to look at the git log.
703
+
704
+ Bug Tracker
705
+ ===========
706
+
707
+ Bugs are tracked on `GitHub Issues <https://github.com/OCA/mis-builder/issues>`_.
708
+ In case of trouble, please check there if your issue has already been reported.
709
+ If you spotted it first, help us to smash it by providing a detailed and welcomed
710
+ `feedback <https://github.com/OCA/mis-builder/issues/new?body=module:%20mis_builder%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
711
+
712
+ Do not contact contributors directly about support or help with technical issues.
713
+
714
+ Credits
715
+ =======
716
+
717
+ Authors
718
+ -------
719
+
720
+ * ACSONE SA/NV
721
+
722
+ Contributors
723
+ ------------
724
+
725
+ - Stéphane Bidoul <stephane.bidoul@acsone.eu>
726
+ - Laetitia Gangloff <laetitia.gangloff@acsone.eu>
727
+ - Adrien Peiffer <adrien.peiffer@acsone.eu>
728
+ - Alexis de Lattre <alexis.delattre@akretion.com>
729
+ - Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
730
+ - Jordi Ballester <jordi.ballester@eficent.com>
731
+ - Thomas Binsfeld <thomas.binsfeld@gmail.com>
732
+ - Giovanni Capalbo <giovanni@therp.nl>
733
+ - Marco Calcagni <mcalcagni@dinamicheaziendali.it>
734
+ - Sébastien Beau <sebastien.beau@akretion.com>
735
+ - Laurent Mignon <laurent.mignon@acsone.eu>
736
+ - Luc De Meyer <luc.demeyer@noviat.com>
737
+ - Benjamin Willig <benjamin.willig@acsone.eu>
738
+ - Martronic SA <info@martronic.ch>
739
+ - nicomacr <nmr@adhoc.com.ar>
740
+ - Juan Jose Scarafia <jjs@adhoc.com.ar>
741
+ - Richard deMeester <richard@willowit.com.au>
742
+ - Eric Caudal <eric.caudal@elico-corp.com>
743
+ - Andrea Stirpe <a.stirpe@onestein.nl>
744
+ - Maxence Groine <mgroine@fiefmanage.ch>
745
+ - Arnaud Pineux <arnaud.pineux@acsone.eu>
746
+ - Ernesto Tejeda <ernesto.tejeda@tecnativa.com>
747
+ - Pedro M. Baeza <pedro.baeza@tecnativa.com>
748
+ - Alexey Pelykh <alexey.pelykh@corphub.eu>
749
+ - Jairo Llopis (https://www.moduon.team/)
750
+ - Dzung Tran <dungtd@trobz.com>
751
+ - Hoang Diep <hoang@trobz.com>
752
+ - Miquel Pascual <mpascual@apsl.net>
753
+ - Antoni Marroig <amarroig@apsl.net>
754
+
755
+ Maintainers
756
+ -----------
757
+
758
+ This module is maintained by the OCA.
759
+
760
+ .. image:: https://odoo-community.org/logo.png
761
+ :alt: Odoo Community Association
762
+ :target: https://odoo-community.org
763
+
764
+ OCA, or the Odoo Community Association, is a nonprofit organization whose
765
+ mission is to support the collaborative development of Odoo features and
766
+ promote its widespread use.
767
+
768
+ .. |maintainer-sbidoul| image:: https://github.com/sbidoul.png?size=40px
769
+ :target: https://github.com/sbidoul
770
+ :alt: sbidoul
771
+
772
+ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
773
+
774
+ |maintainer-sbidoul|
775
+
776
+ This module is part of the `OCA/mis-builder <https://github.com/OCA/mis-builder/tree/17.0/mis_builder>`_ project on GitHub.
777
+
778
+ You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.