Alexis de Lattre
feb11730a5
PEP8
2015-07-29 16:25:02 +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
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
d5ec45aa24
[IMP] mis_builder: improve docstrings
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
Stéphane Bidoul
615e67e02a
[IMP] mis_builder: tiny refactoring
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
1732179507
[IMP] mis_builder: improve documentation a bit
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
fa86d99301
[FIX] mis_builder: use safe_eval in aep
2015-07-26 23:12:41 +02:00
Adrien Peiffer (ACSONE)
7b89e6d573
[IMP] Refactor improvements using AEP
2015-07-26 23:12:40 +02:00
Stéphane Bidoul
76ea800265
[IMP] mis_builder: get_aml_domain_for_expr OR domains
2015-07-26 23:12:40 +02:00
Stéphane Bidoul
dd5084fb28
[IMP] mis_builder: fix and improve get_aml_domain_for_expr
2015-07-26 23:12:40 +02:00
Stéphane Bidoul
e0dcd4b29f
[IMP] mis_builder: add method to get a domain on account.move.line from an expression
2015-07-26 23:12:40 +02:00
Stéphane Bidoul
f6a073f71f
[FIX] mis_builder: typos, pep8
2015-07-26 23:12:40 +02:00
Stéphane Bidoul
3fbd04857e
[ADD] mis_builder: accounting expression processor
2015-07-26 23:12:40 +02:00