Commit Graph

40 Commits (9a3dae5e47deff6f67a96aa4fc7a9f7fca2f793a)

Author SHA1 Message Date
Stéphane Bidoul 46f806de2c [FIX] mis_builder: use =like instead of like to search on account codes 2016-04-29 12:11:31 +02:00
Stéphane Bidoul f0a6ae0f03 [FIX] mis_builder: fix date type for fiscal year date start computation
plus a bit of pep 8 and idiom to get ids from a recordset
2016-04-29 12:11:31 +02:00
Adrien Peiffer (ACSONE) 19fcf3b945 [FIX] Flake8 issues 2016-04-29 12:11:31 +02:00
Adrien Peiffer (ACSONE) 72d153c2cc [CHG][mis_builder] Use company to get date_from 2016-04-29 12:11:31 +02:00
Adrien Peiffer (ACSONE) 7203d99252 [FIX][mis_builder] Better with company 2016-04-29 12:11:31 +02:00
Stéphane Bidoul 5a2d226c03 [WIP] domain for initial balance depending on account type 2016-04-29 12:11:31 +02:00
Adrien Peiffer (ACSONE) 499ce4edc6 [FIX] Fix flake8 issues 2016-04-29 12:11:30 +02:00
Stéphane Bidoul 261fd683ec [FIX] reset permissions that should not have changed 2016-04-29 12:11:30 +02:00
ThomasBinsfeld 8e4e046aee [ADD] AccountingNone (singleton) to differentiate balances among which the debit and the credit are zero and balances among which debit and credit nullify 2016-04-29 12:11:30 +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
Stéphane Bidoul 43edb9a818 [FIX] remove unused import 2016-04-29 12:11:30 +02:00
Stéphane Bidoul f0fe48b322 no more parent_id, no more consolidation children
Code is simpler too but here we really lose functionality.
2016-04-29 12:11:30 +02:00
Stéphane Bidoul b1a5dc51a9 Migrate aep to 9.0: periods are gone, so far, so good 2016-04-29 12:11:30 +02:00
Stéphane Bidoul f4fbab3c1e [ADD] mis_builder: hooks for analytic filtering 2015-10-27 22:01:34 +01:00
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