Commit Graph

1155 Commits (7f4fde0ec4201ef70b27facfd8db32763d06be28)

Author SHA1 Message Date
Stéphane Bidoul c6da1aa9a6 [IMP] mis_builder: hide button box in edit mode on the report instance settings form 2016-05-16 12:55:56 +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 4dd0aec548 [FIX] mis_builder: avoid calling compute twice in widget 2016-05-15 22:49:07 +02:00
Stéphane Bidoul c6e0afe3a4 [IMP] mis_builder: changelog and bump to version 2.0.0 2016-05-15 22:27:53 +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 c832020749 [IMP] mis_builder: default values for colors 2016-05-15 18:19:28 +02:00
Stéphane Bidoul 542ac94eda [WIP] mis_builder: add TODO related to sub-kpi naming in SimpleArray 2016-05-15 18:19:05 +02:00
Stéphane Bidoul 27706de15c [IMP] mis_builder: remove unneeded div in mis widget 2016-05-15 18:18:39 +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 517e5fdb86 [IMP] mis_builder: tweak report instance view 2016-05-15 17:47:31 +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 5d01916d4d [IMP] mis_builder: cosmetics 2016-05-15 16:56:47 +02:00
Stéphane Bidoul 39917120e5 [FIX] mis_builder: tweak xlsx number format 2016-05-15 15:34:19 +02:00
Stéphane Bidoul 07d6c16a91 [FIX] mis_builder: dependencies 2016-05-15 15:31:12 +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 5fc18628e4 [FIX] mis_builder: another attempt to silence a spurious pylint-odoo error 2016-05-14 16:07:10 +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 d287d34748 [LNT] mis_builder: yes, I do want to use eval() 2016-05-13 14:06:47 +02:00
Stéphane Bidoul 7a1d2d1305 [IMP] mis_builder: changelog 2016-05-13 13:55:55 +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 c8a6fe42fd [FIX] mis_builder: xlsx: fix header display issue with simple kpis 2016-05-13 13:21:38 +02:00
Stéphane Bidoul 6e2d369b1d [WIP] mis_builder refactoring: rename view and report sources for clarity 2016-05-13 13:17:43 +02:00
Stéphane Bidoul e1e83a3efe [IMP] mis_builder: update contributors in README 2016-05-13 08:45:46 +02:00
Stéphane Bidoul 7a17fca354 [IMP] mis_builder: cosmetics in style form 2016-05-13 08:36:57 +02:00
Stéphane Bidoul 3d51df95f1 [FIX] mis_builder: do not use color picker widget because it does not allow for null values 2016-05-13 08:29:43 +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 c96e366cdc [FIX] mis_builder: correct use of color picker widget 2016-05-12 21:39:03 +02:00
Stéphane Bidoul 6e7936378f [WIP] mis_builder refactoring: restore and improve xslx
Including decent column widths.
2016-05-12 18:58:23 +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 c50af0b5a4 [WIP] mis_builder refactoring: refactor and improve PDF report 2016-05-11 13:58:27 +02:00
Stéphane Bidoul eca96c9f6c [WIP] mis_builder refactoring: cleanup widget styles a bit 2016-05-11 13:58:07 +02:00
Stéphane Bidoul 8e9a245dd2 [WIP] mis_builder refactoring: split compute method
So the matrix computation can be used without the json rendering.
2016-05-11 13:00:57 +02:00
Stéphane Bidoul b86c7c2c05 [FIX] mis_builder: remove redundant css 2016-05-11 12:54:07 +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 aed8023d49 [FIX] mis_builder: a few bug in mis_builder_style 2016-05-11 11:11:52 +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
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/
2016-05-10 18:40:02 +02:00
Stéphane Bidoul 3461d123d3 [WIP] mis_builder refactoring: restore and improve comparison columns 2016-05-10 18:30:45 +02:00
Stéphane Bidoul e8993c90f9 [WIP] mis_builder refactoring: remove old, ugly code \o/ 2016-05-08 13:23:23 +02:00
Stéphane Bidoul dd52a844a6 [FIX] mis_builder: fix period comment (date from/to) display 2016-05-08 13:19:55 +02:00
Stéphane Bidoul 087906c5e8 [FIX] mis_builder: widget footer was broken 2016-05-08 13:19:29 +02:00
Stéphane Bidoul 059ccdb975 [WIP] mis_builder refactoring: fix bug with detail accounts 2016-05-08 13:06:28 +02:00