Stéphane Bidoul (ACSONE)
b633d1461e
[FIX] mis_builder: fix comparison when there are no subkpis ( #237 )
[FIX] mis_builder: fix comparison when there are no subkpis
8 years ago
Thomas Binsfeld
9af17587fc
[IMP] prepare_locals_dict ( #199 )
9 years ago
Thomas Binsfeld
1e5dc31137
[FIX] mis_builder: iter_cell_tuples ( #198 )
9 years ago
Stéphane Bidoul (ACSONE)
851a01570f
[IMP] mis_builder: removed unused argument ( #197 )
Was forgotten in 53192385fb
9 years ago
Stéphane Bidoul
53192385fb
[IMP] mis_builder: use company currency decimal place in deciding if initial balances are null or 0
9 years ago
Stéphane Bidoul
189483bba6
[IMP] mis_builder: change precision rounding from 2 to 4 to distinguish 0 from null in initial balances
This should be slightly on the safer side. Ideally, this rounding precision
should come from the kpi style (which defaults to the report style), but
that would be a lot of code for little benefits.
9 years ago
Stéphane Bidoul
f4a9b0d082
[FIX] mis_builder: typo in docstring
9 years ago
Stéphane Bidoul
3e68d3d435
[IMP] mis_builder: remove deprecated api.one
9 years ago
Stéphane Bidoul
343a570bbd
[IMP] mis_builder: more lint
9 years ago
Stéphane Bidoul
c1adf834e9
[IMP] mis_builder: lint
9 years ago
Stéphane Bidoul
4fdc99014d
[IMP] mis_builder: more tests and fixes wrt DataError in results
9 years ago
Stéphane Bidoul
9ab6489694
[IMP] mis_builder: attempt to silence spurious pylint error
9 years ago
Stéphane Bidoul
068cc14c63
[FIX] mis_builder: handle corner case errors raised by the test suite
Plus, handle even more corner cases related to NameError handling.
9 years ago
Stéphane Bidoul
e34bd39f17
[IMP] mis_builder: add a wide-coverage integration test
This reveals a couple of bugs!
9 years ago
Stéphane Bidoul
b45a346abb
[IMP] mis_builder: better way to disable eval-used lint check
9 years ago
Stéphane Bidoul
5167dec5aa
[IMP] mis_builder: be more consistent in naming row/column labels
- label: the main row/column label
- description: a more detailed description of the row/column,
currently displayed as a second line in the header cell
- comment: a even more detailed comment,
currently displayed as a tooltip in the interactive widget only
9 years ago
Stéphane Bidoul
992a14b316
[IMP] mis_builder: simplify widget template
Plus more consistent vocabulary for row/col labels
9 years ago
Stéphane Bidoul
6fdb58ce23
[IMP] mis_builder: remove _ from some method names
because they are part of the public API (though not usable over rpc)
9 years ago
Stéphane Bidoul
a812c15447
[FIX] mis_builder: fix sum aggregation of non-stored field in non-accounting queries
fixes #178
9 years ago
Stéphane Bidoul
222874d4f6
[IMP] mis_builder: restore style expressions
The addition is local and propagates automatically to the the
widget, xls and pdf exports \o/
9 years ago
Stéphane Bidoul
c832020749
[IMP] mis_builder: default values for colors
9 years ago
Stéphane Bidoul
542ac94eda
[WIP] mis_builder: add TODO related to sub-kpi naming in SimpleArray
9 years ago
Stéphane Bidoul
180801d171
[IMP] mis_builder: do not talk about periods in KpiMatrix, only columns
9 years ago
Stéphane Bidoul
da6556a239
[IMP] mis_builder: move comparison code to the style class
Ultimately KpiMatrix should not have to know about kpi at all, it should
become a kind of spreadsheet object that can render values in row/cols/subcols
with styles. At this stage, the qweb and pdf reports, as well as the as_dict()
method of the matrix already work without knowning anything about kpis.
9 years ago
Stéphane Bidoul
5fd1c48574
[FIX] mis_builder: multi-kpi comparison column ordering
9 years ago
Stéphane Bidoul
39917120e5
[FIX] mis_builder: tweak xlsx number format
9 years ago
Stéphane Bidoul
e8aa6dd2c8
[IMP] mis_builder: number format are now part of styles
Plus a default style at the report level.
Plus correct number rendering for comparisons in Excel export.
9 years ago
Stéphane Bidoul
5fc18628e4
[FIX] mis_builder: another attempt to silence a spurious pylint-odoo error
9 years ago
Stéphane Bidoul
67ea6c8ce1
[IMP] mis_builder: comparison rendering tests and tweaks
9 years ago
Stéphane Bidoul
eb409cbd99
[IMP] mis_builder: add value rendering tests, and tune the code
9 years ago
Stéphane Bidoul
d2bc009961
[WIP] mis_builder refactoring: restore drilldown with support for account details
9 years ago
Stéphane Bidoul
d287d34748
[LNT] mis_builder: yes, I do want to use eval()
9 years ago
Stéphane Bidoul
cad22130f2
[WIP] mis_builder refactoring: add a menu entry for styles
Plus do some more source renaming around styles.
9 years ago
Stéphane Bidoul
7a17fca354
[IMP] mis_builder: cosmetics in style form
9 years ago
Stéphane Bidoul
1eaa80622a
[IMP] mis_builder: add no-break space for better display of multi-formula expressions
9 years ago
Stéphane Bidoul
d66f7b92fc
[IMP] mis_builder: style for auto-expanded detail rows
9 years ago
Stéphane Bidoul
272427006b
[WIP] mis_builder refactoring: fix and clean the test
9 years ago
Stéphane Bidoul
585516b116
[FIX] mis_builder: minor tweak to avoid empty style attributs in widget
9 years ago
Stéphane Bidoul
8e9a245dd2
[WIP] mis_builder refactoring: split compute method
So the matrix computation can be used without the json rendering.
9 years ago
Stéphane Bidoul
53f27b2edd
[WIP] mis_builder refactoring: restore tooltips and make them work with subkpis
9 years ago
Stéphane Bidoul
aed8023d49
[FIX] mis_builder: a few bug in mis_builder_style
9 years ago
Stéphane Bidoul
8324ef2e01
[WIP] mis_builder refactoring: split mis_builder.py in two
mis_report.py has the heavy stuff, and contains all the computation
and rendering code
9 years ago
Stéphane Bidoul
83d943be5f
[WIP] mis_builder refactoring: move the "json" conversion to the matrix
mis.report.instance.compute() is now as simple as possible, and rest
is nicely factored in manageable methods \o/
9 years ago
Stéphane Bidoul
3461d123d3
[WIP] mis_builder refactoring: restore and improve comparison columns
9 years ago
Stéphane Bidoul
e8993c90f9
[WIP] mis_builder refactoring: remove old, ugly code \o/
9 years ago
Stéphane Bidoul
dd52a844a6
[FIX] mis_builder: fix period comment (date from/to) display
9 years ago
Stéphane Bidoul
059ccdb975
[WIP] mis_builder refactoring: fix bug with detail accounts
9 years ago
Stéphane Bidoul
0744a803a7
[WIP] mis_builder refactoring: restore period titles in widget
9 years ago
Stéphane Bidoul
fd718ca933
[WIP] mis_builder refactoring: restore proper display and sorting of detail rows
9 years ago
Stéphane Bidoul
e7126a0689
[FIX] mis_builder: aep issue with smart ending balance computation
9 years ago