Commit Graph

4 Commits (e9973e8d410d5b01c46b433e2a1416b86c0494a0)

Author SHA1 Message Date
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 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