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
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
7a17fca354
[IMP] mis_builder: cosmetics in style form
2016-05-13 08:36:57 +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
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
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
059ccdb975
[WIP] mis_builder refactoring: fix bug with detail accounts
2016-05-08 13:06:28 +02:00
Stéphane Bidoul
0744a803a7
[WIP] mis_builder refactoring: restore period titles in widget
2016-05-08 12:48:27 +02:00
Stéphane Bidoul
fd718ca933
[WIP] mis_builder refactoring: restore proper display and sorting of detail rows
2016-05-08 11:49:47 +02:00
Stéphane Bidoul
e7126a0689
[FIX] mis_builder: aep issue with smart ending balance computation
2016-05-08 11:48:53 +02:00
Stéphane Bidoul
a4193139bc
[WIP] mis_builder refactoring: cette fois je tiens le bon bout :)
2016-05-07 16:26:28 +02:00
Stéphane Bidoul
675b83065c
[IMP] remove unused doctests call
2016-05-06 15:47:13 +02:00
Stéphane Bidoul
378d168e50
[IMP] mis_builder: AEP: replace_exprs_by_account_id now works on a list of expressions
2016-05-06 15:46:58 +02:00
Stéphane Bidoul
f8a6daa430
[IMP] make SimpleArray produce DataError in memberwise operations
...
Put DataError and mis_safe_eval in their own files
2016-05-06 14:27:19 +02:00
Stéphane Bidoul
67597d223e
[WIP] mis_builder: refactoring
2016-05-06 10:28:42 +02:00
Stéphane Bidoul
874cbeeb7e
[WIP] mis_builder: refactoring
2016-05-06 10:28:42 +02:00
Stéphane Bidoul
f0b2a6b563
[IMP] mis_builder improve AEP convenience methods
2016-05-02 09:07:13 +02:00
Stéphane Bidoul
466cd6087f
[IMP] mis_builder: convenience methods to obtain balance and unallocated p&l
...
plus improve mechanism to group by account
2016-05-02 00:35:20 +02:00
Stéphane Bidoul
800cfda277
[IMP] mis_builder: give a description to sub kpis
...
name is the python variable name, to be used (in the future)
to reference sub-kpi values in expressions.
description is the human-readable name to display in column
headers.
2016-05-01 11:23:54 +02:00
Stéphane Bidoul
b33e1d66a8
a couple more tests
2016-04-30 22:20:05 +02:00
Stéphane Bidoul
6b22cfe568
[IMP] mis_builder: unit tests for AccountingExpressionProcessor
2016-04-30 20:45:17 +02:00
Stéphane Bidoul
70f1a850a4
[FIX] mis_builder: unallocated p&l computation fix
2016-04-30 20:20:37 +02:00
Stéphane Bidoul
ad3145283d
[IMP] mis_builder: support SimpleArray operations with ints/floats
2016-04-30 18:11:27 +02:00
Stéphane Bidoul
2d008a0b69
[IMP] mis_builder: refine handling of null initial balances
...
Filter out accounts which have a 0 contribution to the initial balance
2016-04-30 17:58:58 +02:00
Stéphane Bidoul
4a4e314a84
[IMP] mis_builder: split computation of ending balance in initial+variation
...
So if there are no moves in the period, the ending balance is
AccountingNone instead of 0.
2016-04-30 17:30:02 +02:00
Stéphane Bidoul
1466e96a6e
[IMP] mis_builder: add 'u' mode for unallocated p&l
2016-04-30 17:02:12 +02:00
Stéphane Bidoul
8e34261c01
[FIX] mis_builder: fixes wrt subkpis and drilldown
2016-04-30 14:35:12 +02:00
Adrien Peiffer (ACSONE)
cccc75d740
[IMP] Improve style of Mis report widget buttons. Add report name in the widget.
2016-04-30 12:48:17 +02:00
Adrien Peiffer (ACSONE)
441f769b45
[FIX] Display date_from and date_to with date_range.
2016-04-30 12:48:17 +02:00
Sébastien BEAU
6c39d21273
[FIX] fix default value at creation of the computed field comparison_mode
2016-04-29 15:45:24 +02:00
Sébastien BEAU
43fd454c24
[IMP] add cron for deleting temporary report, improve view and fix period creation
2016-04-29 14:52:36 +02:00
Stéphane Bidoul
6b07bfc68c
flake8
2016-04-29 12:11:31 +02:00
Stéphane Bidoul
d054ee6354
[FIX] mis_builder test back to green
2016-04-29 12:11:31 +02:00
Stéphane Bidoul
e5b8932095
[FIX] mis_builder: fix comparison_mode compute
2016-04-29 12:11:31 +02:00
Laurent Mignon
4c4736be07
[IMP] Add Giovanni Capalbo in the list of authors
2016-04-29 12:11:31 +02:00
Laurent Mignon
1e10841aa3
[IMP] Refactor code and implement styling in xlsx
2016-04-29 12:11:31 +02:00