Commit Graph

55 Commits (7f4fde0ec4201ef70b27facfd8db32763d06be28)

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 022b8a8998 [IMP] mis_builder: more lint 2016-05-17 13:05:05 +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 3448c3de6e [FIX] mis_builder: fix test 2016-05-16 13:57:01 +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 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 272427006b [WIP] mis_builder refactoring: fix and clean the test 2016-05-12 22:02:56 +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 c8901da5c9 [IMP] mis_builder: tests for mis_safe_eval 2016-05-07 16:26:02 +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 f0b2a6b563 [IMP] mis_builder improve AEP convenience methods 2016-05-02 09:07:13 +02:00
Stéphane Bidoul 5c08cce776 [IMP] mis_builder: increase aep test coverage 2016-05-02 00:47:28 +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 d6a03aba4e pep8 2016-04-30 21:04:33 +02:00
Stéphane Bidoul 6b22cfe568 [IMP] mis_builder: unit tests for AccountingExpressionProcessor 2016-04-30 20:45:17 +02:00
Stéphane Bidoul 6da30675e4 [IMP] mis_builder: add doctests to the test suite 2016-04-30 15:20:03 +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
jbeficent d526bb94c6 [IMP] add prefixes. comes from PR #145 2016-04-29 12:11:30 +02:00
Stéphane Bidoul 1b11a87655 pep8 & co 2016-04-29 12:11:30 +02:00
Adrien Peiffer (ACSONE) 38075ac441 [FIX][mis_builder] Fix test suite. 2016-04-29 12:11:30 +02:00
Stéphane Bidoul 8024d0a561 [IMP] mis_builder: unused imports in test 2015-07-26 23:12:45 +02:00
Stéphane Bidoul 4c72d8637c [FIX] mis_builder: fix test 2015-07-26 23:12:45 +02:00
Stéphane Bidoul 68c5a4b12a [IMP] mis_builder: root account must be selected by user
Instead of attempting to deduce it from company.
2015-07-26 23:12:45 +02:00
Stéphane Bidoul d0cc186093 [IMP] mis_builder: refactor compute to display comparison columns after their corresponding period and better readability 2015-07-26 23:12:43 +02:00
Stéphane Bidoul 29fb77ae37 [IMP] mis_builder OpenERP->Odoo in headers + copyright year 2015-07-26 23:12:43 +02:00
Stéphane Bidoul b2a0c60dab [FIX] mis_builder: fix test suite 2015-07-26 23:12:43 +02:00
Stéphane Bidoul 8588b20ed9 [IMP] mis_builder: 8.0 remove deprecated checks and fast_suite 2015-07-26 23:12:43 +02:00
Stéphane Bidoul 44499e620d [IMP] mis_builder: code cosmetics 2015-07-26 23:12:42 +02:00
Adrien Peiffer (ACSONE) df4e11afa9 [FIX] Adapt tests for 8.0 2015-07-26 23:12:40 +02:00
Adrien Peiffer (ACSONE) 0d57782890 [IMP] Pylint issues 2015-07-26 23:12:40 +02:00
Laetitia Gangloff 3dacb87a7a Add tooltip to see the expression used. Add onclick to go to account.move.line concerned 2015-07-26 23:12:39 +02:00
Laetitia Gangloff c62137ad8d Refactor to get language only once. Do not compute balance if there is not balance to compute. Use search to get account_ids 2015-07-26 23:12:39 +02:00
Stéphane Bidoul fde8e942ac [FIX] pep8 2015-07-26 23:12:39 +02:00
Stéphane Bidoul 5f47bc7a0f [FIX] pep8 2015-07-26 23:12:38 +02:00
Stéphane Bidoul 2623c8c113 [IMP] use relative imports in tests
It's cleaner and makes pydev happy
2015-07-26 23:12:38 +02:00
Stéphane Bidoul f9ebf5677f [IMP] pep8 2015-07-26 23:12:38 +02:00
laetitia.gangloff@acsone.eu 20262daae6 fix test 2015-07-26 23:12:38 +02:00
laetitia.gangloff@acsone.eu adb4262a09 pep8 2015-07-26 23:12:38 +02:00
laetitia.gangloff@acsone.eu 50c5ef83a9 add mis_builder_demo to contains some data 2015-07-26 23:12:38 +02:00
laetitia.gangloff@acsone.eu ef1ad050d9 fix date in report instance to be able to test 2015-07-26 23:12:37 +02:00
laetitia.gangloff@acsone.eu 18102f8bd5 compute average only for kpi type num. Correct utc_midnight 2015-07-26 23:12:37 +02:00
laetitia.gangloff@acsone.eu 744f5e6e31 in utc_midnight use timezone to compute it 2015-07-26 23:12:37 +02:00