Stéphane Bidoul
09d69b97ea
[IMP] mis_builder: improve eval context of query domain
Make it closer to the evaluation context available for server actions.
9 years ago
Alexis de Lattre
feb11730a5
PEP8
10 years ago
Alexis de Lattre
4bc6080ce0
Add ability to use ('user_id', '=', uid) in a domain
10 years ago
Stéphane Bidoul
57a9bbb31d
[FIX] mis_builder: do not arbitrarily filter on company in queries
10 years ago
Stéphane Bidoul
4cd4a14390
[FIX] mis_builder: do not crash on aggregate queries with no results
10 years ago
Stéphane Bidoul
65c95b5a77
[IMP] mis_builder: fix docstring and improve readability of get_aml_domain_for_expr
10 years ago
Stéphane Bidoul
e6888b7581
[FIX] mis_builder: fix time computation regression introduced in new api conversion
10 years ago
Stéphane Bidoul
009dbafcca
[IMP] mis_builder: remove old api remnant
10 years ago
Stéphane Bidoul
0cb1658556
[FIX] mis_builder: translatable comparison column header
10 years ago
Stéphane Bidoul
42fd267ffb
[FIX] mis_builder: better locale-aware date headers
10 years ago
Stéphane Bidoul
7c3f0a53e6
[IMP] mis_builder: log conditional style evaluation errors
10 years ago
Stéphane Bidoul
ce8eef95e3
[IMP] mis_builder: improve kpi _onchange_type
10 years ago
Stéphane Bidoul
68c5a4b12a
[IMP] mis_builder: root account must be selected by user
Instead of attempting to deduce it from company.
10 years ago
Stéphane Bidoul
1850957539
[FIX] mis_builder: fix regexp in legacy mode for account codes containing letters
10 years ago
Stéphane Bidoul
203891ddb5
[IMP] mis_builder: new api
10 years ago
Stéphane Bidoul
aeb1b48cdf
[IMP] mis_builder: pep8
10 years ago
Stéphane Bidoul
2303798ee0
[FIX] mis_builder: percentage comparison in presence of negative values
10 years ago
Stéphane Bidoul
d5ec45aa24
[IMP] mis_builder: improve docstrings
10 years ago
Adrien Peiffer (ACSONE)
ab1318d6cc
[ADD] mis_builder: Add possibility to define orientation on pdf report
10 years ago
Stéphane Bidoul
cf975bd822
[IMP] mis_builder: pdf export embryo (working but not styled yet)
10 years ago
Stéphane Bidoul
965b3712b6
[IMP] mis_builder: no need to restrict report and instance name length
10 years ago
Stéphane Bidoul
92eb54808c
[IMP] mis_builder: add copyright header to aep.py
10 years ago
Stéphane Bidoul
afdf1002d7
[IMP] mis_buidler: avoid non-sense % comparisons with base value close to 0
10 years ago
Stéphane Bidoul
7c0e35c684
[IMP] mis_builder: code cosmetics
10 years ago
Stéphane Bidoul
f772b14b67
[IMP] mis_builder: use non-breaking hyphen for negative sign
Also refactor _render_num() for readability.
10 years ago
Stéphane Bidoul
41827e60e9
[FIX] mis_builder: excel export works again... strange
10 years ago
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.
10 years ago
Stéphane Bidoul
615e67e02a
[IMP] mis_builder: tiny refactoring
10 years ago
Stéphane Bidoul
894f72f497
[FIX] mis_builder: propagate context
10 years ago
Stéphane Bidoul
a205aae131
[FIX] mis_builder: order by sequence, id so d01eb513f is correct
10 years ago
Stéphane Bidoul
d0cc186093
[IMP] mis_builder: refactor compute to display comparison columns after their corresponding period and better readability
10 years ago
Stéphane Bidoul
bef7cd7153
[FIX] mis_builder: deleting mis.report cascade deletes mis.report.kpi
10 years ago
Stéphane Bidoul
f7a1f38e50
[IMP] mis_builder: replace groupby with a more useful aggregate
10 years ago
Stéphane Bidoul
29fb77ae37
[IMP] mis_builder OpenERP->Odoo in headers + copyright year
10 years ago
Stéphane Bidoul
407945e331
[IMP] mis_builder: date and modes i/e are not compatibles
10 years ago
Stéphane Bidoul
1732179507
[IMP] mis_builder: improve documentation a bit
10 years ago
Stéphane Bidoul
aa5893c730
[FIX] mis_builder: do not raise inside function fields
10 years ago
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
10 years ago
Adrien Peiffer (ACSONE)
f02ff63a51
[FIX] mis builder: Catch exception on ValueError and on NameError
10 years ago
Laetitia Gangloff
767cd49261
add help in view, use NameError instead of ValueError
10 years ago
Stéphane Bidoul
94e66a5ad7
[IMP] mis_builder: query group by
10 years ago
Stéphane Bidoul
568242ac82
[FIX] mis_builder: fix detection of expression with accounting variables
10 years ago
Stéphane Bidoul
4493a4ec0b
[IMP] mis_builder: refactor drilldown to reuse period computation and work for all modes
10 years ago
Stéphane Bidoul
55b31f9cbd
[IMP] mis_builder: refactor to compute period only for modes actually used
10 years ago
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.
10 years ago
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
10 years ago
Stéphane Bidoul
44499e620d
[IMP] mis_builder: code cosmetics
10 years ago
Adrien Peiffer (ACSONE)
36292b757f
[IMP] Refactor compute_period_domain
10 years ago
Stéphane Bidoul
bea9dd0229
[IMP] mis_builder: support expresisons with no accounts (domain only)
10 years ago
Stéphane Bidoul
27980dc501
[IMP] mis_builder: preliminary work to support expressions without accounts
eg expressions such as bale[][('account_id.type', '=', 'payable')]
10 years ago