Commit Graph

25 Commits (b003d2aca48044ded44e3bf890c7ed929ba3c449)

Author SHA1 Message Date
Stéphane Bidoul 53192385fb [IMP] mis_builder: use company currency decimal place in deciding if initial balances are null or 0 2016-05-24 08:31:29 +02:00
Stéphane Bidoul 3e68d3d435 [IMP] mis_builder: remove deprecated api.one 2016-05-17 12:08:45 +02:00
Stéphane Bidoul c1adf834e9 [IMP] mis_builder: lint 2016-05-17 10:32:14 +02:00
Stéphane Bidoul 4fdc99014d [IMP] mis_builder: more tests and fixes wrt DataError in results 2016-05-16 21:51:05 +02:00
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.
2016-05-16 20:31:03 +02:00
Stéphane Bidoul e34bd39f17 [IMP] mis_builder: add a wide-coverage integration test
This reveals a couple of bugs!
2016-05-16 19:38:49 +02:00
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
2016-05-16 12:49:35 +02:00
Stéphane Bidoul 992a14b316 [IMP] mis_builder: simplify widget template
Plus more consistent vocabulary for row/col labels
2016-05-16 09:38:51 +02:00
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)
2016-05-15 22:24:27 +02:00
Stéphane Bidoul a812c15447 [FIX] mis_builder: fix sum aggregation of non-stored field in non-accounting queries
fixes #178
2016-05-15 22:21:31 +02:00
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/
2016-05-15 18:20:29 +02:00
Stéphane Bidoul 180801d171 [IMP] mis_builder: do not talk about periods in KpiMatrix, only columns 2016-05-15 17:59:10 +02:00
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.
2016-05-15 17:41:49 +02:00
Stéphane Bidoul 5fd1c48574 [FIX] mis_builder: multi-kpi comparison column ordering 2016-05-15 16:57:10 +02:00
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.
2016-05-15 15:30:50 +02:00
Stéphane Bidoul 67ea6c8ce1 [IMP] mis_builder: comparison rendering tests and tweaks 2016-05-14 16:06:47 +02:00
Stéphane Bidoul eb409cbd99 [IMP] mis_builder: add value rendering tests, and tune the code 2016-05-14 14:10:17 +02:00
Stéphane Bidoul d2bc009961 [WIP] mis_builder refactoring: restore drilldown with support for account details 2016-05-13 21:40:33 +02:00
Stéphane Bidoul cad22130f2 [WIP] mis_builder refactoring: add a menu entry for styles
Plus do some more source renaming around styles.
2016-05-13 13:39:48 +02:00
Stéphane Bidoul 1eaa80622a [IMP] mis_builder: add no-break space for better display of multi-formula expressions 2016-05-13 08:25:15 +02:00
Stéphane Bidoul d66f7b92fc [IMP] mis_builder: style for auto-expanded detail rows 2016-05-13 08:24:41 +02:00
Stéphane Bidoul 272427006b [WIP] mis_builder refactoring: fix and clean the test 2016-05-12 22:02:56 +02:00
Stéphane Bidoul 585516b116 [FIX] mis_builder: minor tweak to avoid empty style attributs in widget 2016-05-11 14:01:55 +02:00
Stéphane Bidoul 53f27b2edd [WIP] mis_builder refactoring: restore tooltips and make them work with subkpis 2016-05-11 11:15:54 +02:00
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
2016-05-10 18:47:31 +02:00