Pedro M. Baeza
06ced16161
[MIG] Make modules uninstallable
2015-10-14 02:52:35 +02:00
Stéphane Bidoul
af05e07136
[UPD] prefix versions with 8.0
2015-10-09 09:59:21 +02:00
Stéphane Bidoul
4f60e4c4a1
[IMP] mis_builder: improve README and add some roadmap ideas
2015-09-20 12:58:00 +02:00
Pedro M. Baeza
053541ffdc
Merge pull request #116 from acsone/8.0-mis_builder-minmax-fix
...
[IMP] mis_builder: update min/max function signatures
2015-09-08 17:31:54 +02:00
Stéphane Bidoul
f4d0bb25eb
[FIX] mis_builder: correct implementation and doctests for _min/_max
2015-08-30 16:35:03 +02:00
Stéphane Bidoul
9cad3666ad
[IMP] mis_builder: update min/max function signatures
...
so min(x, y, ...) and min([x, y, ..]) both work as expected.
2015-08-28 14:45:28 +02:00
Laurent Mignon (ACSONE)
536c616f01
[FIX] Heading levels
2015-08-26 17:17:32 +02:00
Laurent Mignon (ACSONE)
6db1e211cc
Add static description to get a proper look on app store
...
The description has been generated using rst2html5.
The path to the images has been manually fixed by removing 'static/description/' from the path.
The body element has been replaced by a section wrapping the whole content.
2015-08-26 16:22:18 +02:00
Leonardo Pistone
586ddbec23
import guard for report_xls
...
The dependency is indeed declared in __openerp__.py and will be
enforced. Odoo evaluates all python files, even for modules which are
not installed, and crashes if an unneeded dependency is needed.
2015-08-25 14:44:26 +02:00
Stéphane Bidoul
09d69b97ea
[IMP] mis_builder: improve eval context of query domain
...
Make it closer to the evaluation context available for server actions.
2015-08-22 11:31:37 +02:00
Stéphane Bidoul (ACSONE)
f6b3f21b85
Merge pull request #6 from akretion/8.0-mis_builder-small-enhancements
...
8.0 small enhancements on mis_builder
2015-08-22 11:10:38 +02:00
Laurent Mignon (ACSONE)
bbebd34e3f
[FIX] Use the module as title in the README.rst file
2015-07-29 18:09:13 +02:00
Laurent Mignon (ACSONE)
98a321cccb
[FIX] Add OCA as author
2015-07-29 18:01:50 +02:00
Alexis de Lattre
feb11730a5
PEP8
2015-07-29 16:25:02 +02:00
Alexis de Lattre
4bc6080ce0
Add ability to use ('user_id', '=', uid) in a domain
2015-07-29 16:23:45 +02:00
Stéphane Bidoul
d957b487ac
[IMP] mis_builder: add README and screenshots
2015-07-26 23:28:17 +02:00
Stéphane Bidoul
57a9bbb31d
[FIX] mis_builder: do not arbitrarily filter on company in queries
2015-07-26 23:12:46 +02:00
Stéphane Bidoul
4cd4a14390
[FIX] mis_builder: do not crash on aggregate queries with no results
2015-07-26 23:12:45 +02:00
Adrien Peiffer (ACSONE)
97ede02a5e
[IMP] mis_builder: improve alignment with css class on pdf report
2015-07-26 23:12:45 +02:00
Adrien Peiffer (ACSONE)
fb93cf3b91
[FIX] mis_builder: in some cases with other report, ids isn't initialized
2015-07-26 23:12:45 +02:00
Stéphane Bidoul
b7c828fe5e
[FIX] mis_builder: pep8
2015-07-26 23:12:45 +02:00
Stéphane Bidoul
a809796c78
[IMP] mis_builder: migration script to populate new column root_account
2015-07-26 23:12:45 +02:00
Stéphane Bidoul
65c95b5a77
[IMP] mis_builder: fix docstring and improve readability of get_aml_domain_for_expr
2015-07-26 23:12:45 +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
e6888b7581
[FIX] mis_builder: fix time computation regression introduced in new api conversion
2015-07-26 23:12:45 +02:00
Stéphane Bidoul
009dbafcca
[IMP] mis_builder: remove old api remnant
2015-07-26 23:12:45 +02:00
Stéphane Bidoul
0cb1658556
[FIX] mis_builder: translatable comparison column header
2015-07-26 23:12:45 +02:00
Stéphane Bidoul
42fd267ffb
[FIX] mis_builder: better locale-aware date headers
2015-07-26 23:12:45 +02:00
Stéphane Bidoul
7c3f0a53e6
[IMP] mis_builder: log conditional style evaluation errors
2015-07-26 23:12:45 +02:00
Stéphane Bidoul
ce8eef95e3
[IMP] mis_builder: improve kpi _onchange_type
2015-07-26 23:12:45 +02:00
Stéphane Bidoul
46ec8fde20
[IMP] mis_builder: more compact view
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
1850957539
[FIX] mis_builder: fix regexp in legacy mode for account codes containing letters
2015-07-26 23:12:45 +02:00
Stéphane Bidoul
88fc1bef80
[IMP] mis_builder: cleanup manifest
2015-07-26 23:12:44 +02:00
Stéphane Bidoul
203891ddb5
[IMP] mis_builder: new api
2015-07-26 23:12:44 +02:00
Stéphane Bidoul
aeb1b48cdf
[IMP] mis_builder: pep8
2015-07-26 23:12:44 +02:00
Stéphane Bidoul
2303798ee0
[FIX] mis_builder: percentage comparison in presence of negative values
2015-07-26 23:12:44 +02:00
Stéphane Bidoul
995184371d
[IMP] mis_builder: manifest cosmetics
2015-07-26 23:12:44 +02:00
Stéphane Bidoul
4d579e4b80
[IMP] mis_builder: Export as button name instead of XLS Export
2015-07-26 23:12:44 +02:00
Stéphane Bidoul
d5ec45aa24
[IMP] mis_builder: improve docstrings
2015-07-26 23:12:44 +02:00
Stéphane Bidoul
7186ecaf55
[FIX] mis_builder: remove unnecessary logging
2015-07-26 23:12:44 +02:00
Adrien Peiffer (ACSONE)
ab1318d6cc
[ADD] mis_builder: Add possibility to define orientation on pdf report
2015-07-26 23:12:44 +02:00
Adrien Peiffer (ACSONE)
6a28cf2341
[ADD] mis_builder: add css class on pdf report
2015-07-26 23:12:44 +02:00
Stéphane Bidoul
39ef3a0a5e
[IMP] mis_builder: use internal layout for pdf export
2015-07-26 23:12:44 +02:00
Stéphane Bidoul
cf975bd822
[IMP] mis_builder: pdf export embryo (working but not styled yet)
2015-07-26 23:12:44 +02:00
Stéphane Bidoul
62b5ab8c29
[IMP] mis_builder: rename menu MIS Template -> MIS Report Template
2015-07-26 23:12:44 +02:00
Stéphane Bidoul
965b3712b6
[IMP] mis_builder: no need to restrict report and instance name length
2015-07-26 23:12:44 +02:00
Adrien Peiffer (ACSONE)
8addd8a867
[IMP] mis_builder: improve position of MIS Report menu
2015-07-26 23:12:44 +02:00
Stéphane Bidoul
92eb54808c
[IMP] mis_builder: add copyright header to aep.py
2015-07-26 23:12:44 +02:00
Adrien Peiffer (ACSONE)
2252fe3630
[IMP] mis builder: move report menu in Accounting/Reporting. Rename action
2015-07-26 23:12:44 +02:00
Adrien Peiffer (ACSONE)
d00dcbc2a2
[ADD] mis builder: Add read access for base user
2015-07-26 23:12:43 +02:00
Stéphane Bidoul
afdf1002d7
[IMP] mis_buidler: avoid non-sense % comparisons with base value close to 0
2015-07-26 23:12:43 +02:00
Stéphane Bidoul
7c0e35c684
[IMP] mis_builder: code cosmetics
2015-07-26 23:12:43 +02:00
Stéphane Bidoul
f772b14b67
[IMP] mis_builder: use non-breaking hyphen for negative sign
...
Also refactor _render_num() for readability.
2015-07-26 23:12:43 +02:00
Stéphane Bidoul
3b522a92b1
[IMP] mis_builder: add button icons and xls export from the report instance form
2015-07-26 23:12:43 +02:00
Stéphane Bidoul
41827e60e9
[FIX] mis_builder: excel export works again... strange
2015-07-26 23:12:43 +02:00
Stéphane Bidoul
04bb71d7f9
[FIX] mis_builder: blind attempt to fix xls report which does not even start anymore :(
2015-07-26 23:12:43 +02:00
Stéphane Bidoul
34cd3d1ceb
[FIX] mis_builder: mis_widget was broken
2015-07-26 23:12:43 +02:00
Stéphane Bidoul
16e45f245e
[FIX] mis_builder: OrderedDict serializes to json dict
...
So this was relying on non-standard and unreliable feature of
browsers to preserve order.
2015-07-26 23:12:43 +02:00
Stéphane Bidoul
615e67e02a
[IMP] mis_builder: tiny refactoring
2015-07-26 23:12:43 +02:00
Stéphane Bidoul
894f72f497
[FIX] mis_builder: propagate context
2015-07-26 23:12:43 +02:00
Stéphane Bidoul
a205aae131
[FIX] mis_builder: order by sequence, id so d01eb513f is correct
2015-07-26 23:12:43 +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
bef7cd7153
[FIX] mis_builder: deleting mis.report cascade deletes mis.report.kpi
2015-07-26 23:12:43 +02:00
Stéphane Bidoul
f7a1f38e50
[IMP] mis_builder: replace groupby with a more useful aggregate
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
407945e331
[IMP] mis_builder: date and modes i/e are not compatibles
2015-07-26 23:12:42 +02:00
Stéphane Bidoul
34fa138b65
[IMP] mis_builder: improve legend wording
2015-07-26 23:12:42 +02:00
Stéphane Bidoul
1732179507
[IMP] mis_builder: improve documentation a bit
2015-07-26 23:12:42 +02:00
Stéphane Bidoul
aa5893c730
[FIX] mis_builder: do not raise inside function fields
2015-07-26 23:12:42 +02:00
Stéphane Bidoul
0ae31d887c
[IMP] mis_builder: remove unncessary code for managing sequences
...
As far as I can tell this code is no necessary in 8.0
2015-07-26 23:12:42 +02:00
Adrien Peiffer (ACSONE)
f02ff63a51
[FIX] mis builder: Catch exception on ValueError and on NameError
2015-07-26 23:12:42 +02:00
Laetitia Gangloff
767cd49261
add help in view, use NameError instead of ValueError
2015-07-26 23:12:42 +02:00
Adrien Peiffer (ACSONE)
1189c09e06
[IMP] mis_builder: Move menus in Accounting/Configuration/Financial Reports
2015-07-26 23:12:42 +02:00
Stéphane Bidoul
94e66a5ad7
[IMP] mis_builder: query group by
2015-07-26 23:12:42 +02:00
Stéphane Bidoul
568242ac82
[FIX] mis_builder: fix detection of expression with accounting variables
2015-07-26 23:12:42 +02:00
Stéphane Bidoul
4493a4ec0b
[IMP] mis_builder: refactor drilldown to reuse period computation and work for all modes
2015-07-26 23:12:42 +02:00
Stéphane Bidoul
55b31f9cbd
[IMP] mis_builder: refactor to compute period only for modes actually used
2015-07-26 23:12:42 +02:00
Stéphane Bidoul
0ede82e6da
[IMP] mis_builder: be more precise wrt the root account used
...
This solve issues with empty account selectors in presence of multiple companies.
2015-07-26 23:12:42 +02:00
Stéphane Bidoul
45d3477ded
[IMP] mis_builder: rework periods computation
...
* readability of algorithm
* attempt to be correct in presence of multiple companies
* attempt to be correct with initial balance computation
* handle corner cases for initial balance
2015-07-26 23:12:42 +02:00
Stéphane Bidoul
44499e620d
[IMP] mis_builder: code cosmetics
2015-07-26 23:12:42 +02:00
Adrien Peiffer (ACSONE)
36292b757f
[IMP] Refactor compute_period_domain
2015-07-26 23:12:42 +02:00
Stéphane Bidoul
bea9dd0229
[IMP] mis_builder: support expresisons with no accounts (domain only)
2015-07-26 23:12:42 +02:00
Stéphane Bidoul
27980dc501
[IMP] mis_builder: preliminary work to support expressions without accounts
...
eg expressions such as bale[][('account_id.type', '=', 'payable')]
2015-07-26 23:12:41 +02:00
Stéphane Bidoul
c832bef4f3
[IMP] mis_builder: aep mode constants + prototype for period computation
2015-07-26 23:12:41 +02:00
Stéphane Bidoul
cf1a48a14d
[IMP] mis_builder: add KPI name in tooltips
2015-07-26 23:12:41 +02:00
Stéphane Bidoul
d0d3d1478a
[IMP] mis_builder: refactor drilldown to move the logic to the server
2015-07-26 23:12:41 +02:00
Stéphane Bidoul
842c57206d
[IMP] mis_builder: css cosmetics
2015-07-26 23:12:41 +02:00
Stéphane Bidoul
aac5969c3d
[IMP] mis_builder: code cosmetics
2015-07-26 23:12:41 +02:00
Stéphane Bidoul
b9c18e4440
[IMP] mis_builder: links only on cells where drilldown is possible
2015-07-26 23:12:41 +02:00
Stéphane Bidoul
ce9d9ad364
[IMP] mis_builder: do not use th and label tag
...
This was indeed putting all lignes in bold, and I want to leave bold
as a way for user to highllight lines or cells.
2015-07-26 23:12:41 +02:00
Stéphane Bidoul
8c7ffb8594
[IMP] mis_builder: non breaking space
2015-07-26 23:12:41 +02:00
Stéphane Bidoul
22a2c30339
[IMP] mis_builder: better list view for report instances
2015-07-26 23:12:41 +02:00
Stéphane Bidoul
1815a9aecf
[FIX] mis_builder: missing cascade delete
2015-07-26 23:12:41 +02:00
Stéphane Bidoul
bae95527e1
[IMP] mis_builder: recompute on ValueError
...
so kpi can be displayed in an other sequence than the computation dependency order
2015-07-26 23:12:41 +02:00
Stéphane Bidoul
22d59f3aa4
[FIX] mis_builder: pep8 + reorder imports
2015-07-26 23:12:41 +02:00
Stéphane Bidoul
fa86d99301
[FIX] mis_builder: use safe_eval in aep
2015-07-26 23:12:41 +02:00