Laetitia Gangloff
ffb5c74e26
mis_builder : remove self.env.cr and self.env.uid
9 years ago
jbeficent
4260b113ca
[FIX] fix flake8 and pylint errors
9 years ago
jbeficent
50ed9252fc
[IMP] manual cherry picking of v8 commits 4f60e4c
af05e07
f4fbab3
and cb17def
9 years ago
Alexis de Lattre
621ce046d4
PEP8
9 years ago
Laetitia Gangloff
05b6a04bb0
correct comparison function name call. correct drill_down
9 years ago
Laetitia Gangloff
15b122b944
fix little mistake with period computation
10 years ago
Laurent Mignon (ACSONE)
495693dacc
[ADD] backport mis_builder from 8.0
10 years ago
Stéphane Bidoul
2b60a19b49
[IMP] mis_builder: fix docstring and improve readability of get_aml_domain_for_expr
10 years ago
Stéphane Bidoul
2c1d3c6fe8
[FIX] mis_builder: fix regexp in legacy mode for account codes containing letters
10 years ago
Stéphane Bidoul
2f4ad25f03
[IMP] mis_builder: improve docstrings
10 years ago
Stéphane Bidoul
b4eac6c459
[IMP] mis_builder: add copyright header to aep.py
10 years ago
Stéphane Bidoul
272de95621
[IMP] mis_builder: tiny refactoring
10 years ago
Stéphane Bidoul
40f281c0d5
[IMP] mis_builder: date and modes i/e are not compatibles
10 years ago
Stéphane Bidoul
cffcae36ad
[IMP] mis_builder: improve documentation a bit
10 years ago
Stéphane Bidoul
a1fd65262c
[FIX] mis_builder: fix detection of expression with accounting variables
10 years ago
Stéphane Bidoul
7e13cddca0
[IMP] mis_builder: refactor drilldown to reuse period computation and work for all modes
10 years ago
Stéphane Bidoul
5bf009765d
[IMP] mis_builder: refactor to compute period only for modes actually used
10 years ago
Stéphane Bidoul
38d34b95b1
[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
4101adb125
[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
45f63f26dc
[IMP] mis_builder: code cosmetics
10 years ago
Adrien Peiffer (ACSONE)
00c5c6db91
[IMP] Refactor compute_period_domain
10 years ago
Stéphane Bidoul
31f72c154a
[IMP] mis_builder: support expresisons with no accounts (domain only)
10 years ago
Stéphane Bidoul
b58434d400
[IMP] mis_builder: preliminary work to support expressions without accounts
eg expressions such as bale[][('account_id.type', '=', 'payable')]
10 years ago
Stéphane Bidoul
e84d6e4fe5
[IMP] mis_builder: aep mode constants + prototype for period computation
10 years ago
Stéphane Bidoul
6072b519f9
[FIX] mis_builder: use safe_eval in aep
10 years ago
Adrien Peiffer (ACSONE)
b4da4c9032
[IMP] Refactor improvements using AEP
10 years ago
Stéphane Bidoul
b89d6b2769
[IMP] mis_builder: get_aml_domain_for_expr OR domains
10 years ago
Stéphane Bidoul
9a36751f2d
[IMP] mis_builder: fix and improve get_aml_domain_for_expr
10 years ago
Stéphane Bidoul
050696622c
[IMP] mis_builder: add method to get a domain on account.move.line from an expression
10 years ago
Stéphane Bidoul
f7c0ef1d6b
[FIX] mis_builder: typos, pep8
10 years ago
Stéphane Bidoul
2f4942afd9
[ADD] mis_builder: accounting expression processor
10 years ago