Commit Graph

1015 Commits (af306bab1f7b33adda0b95650eaac1deed03e87c)

Author SHA1 Message Date
Stéphane Bidoul 343a570bbd [IMP] mis_builder: more lint 2016-05-17 11:20:47 +02:00
Stéphane Bidoul c1adf834e9 [IMP] mis_builder: lint 2016-05-17 10:32:14 +02:00
Adrien Peiffer (ACSONE) fc62b07bbb [IMP] mis_builder: Cleanup JS widget. 2016-05-17 08:27:40 +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 9ab6489694 [IMP] mis_builder: attempt to silence spurious pylint error 2016-05-16 20:40:04 +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 b45a346abb [IMP] mis_builder: better way to disable eval-used lint check 2016-05-16 19:32:11 +02:00
Stéphane Bidoul 3448c3de6e [FIX] mis_builder: fix test 2016-05-16 13:57:01 +02:00
Stéphane Bidoul d5dbd9aa8e [FIX] mis_builder: typos in changelog 2016-05-16 13:56:51 +02:00
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