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
Stéphane Bidoul
c832bef4f3
[IMP] mis_builder: aep mode constants + prototype for period computation
10 years ago
Stéphane Bidoul
cf1a48a14d
[IMP] mis_builder: add KPI name in tooltips
10 years ago
Stéphane Bidoul
d0d3d1478a
[IMP] mis_builder: refactor drilldown to move the logic to the server
10 years ago
Stéphane Bidoul
b9c18e4440
[IMP] mis_builder: links only on cells where drilldown is possible
10 years ago
Stéphane Bidoul
8c7ffb8594
[IMP] mis_builder: non breaking space
10 years ago
Stéphane Bidoul
1815a9aecf
[FIX] mis_builder: missing cascade delete
10 years ago
Stéphane Bidoul
bae95527e1
[IMP] mis_builder: recompute on ValueError
so kpi can be displayed in an other sequence than the computation dependency order
10 years ago
Stéphane Bidoul
22d59f3aa4
[FIX] mis_builder: pep8 + reorder imports
10 years ago
Stéphane Bidoul
fa86d99301
[FIX] mis_builder: use safe_eval in aep
10 years ago
Stéphane Bidoul
caa27d2d97
[FIX] mis_builder: forgot to rename one variable
10 years ago
Stéphane Bidoul
0ddc150e13
[IMP] mis_builder: solde -> end
10 years ago
Adrien Peiffer (ACSONE)
3a37efefab
[IMP] Remove unnecessary code
10 years ago
Adrien Peiffer (ACSONE)
7b89e6d573
[IMP] Refactor improvements using AEP
10 years ago
Stéphane Bidoul
76ea800265
[IMP] mis_builder: get_aml_domain_for_expr OR domains
10 years ago
Stéphane Bidoul
dd5084fb28
[IMP] mis_builder: fix and improve get_aml_domain_for_expr
10 years ago
Stéphane Bidoul
e0dcd4b29f
[IMP] mis_builder: add method to get a domain on account.move.line from an expression
10 years ago
Adrien Peiffer (ACSONE)
a436037d19
[FIX] If user has no lang
10 years ago
Adrien Peiffer (ACSONE)
dcf873acd9
[IMP] Refactor improvements using AEP
10 years ago
Stéphane Bidoul
f6a073f71f
[FIX] mis_builder: typos, pep8
10 years ago
Stéphane Bidoul
3fbd04857e
[ADD] mis_builder: accounting expression processor
10 years ago
Adrien Peiffer (ACSONE)
e4b7c467c4
[FIX] Fix compute_domain method
10 years ago
Adrien Peiffer (ACSONE)
1be717cd68
[IMP] Some improvements
* Refactoring _get_account_vars_in_report
* Use account_partial_balance instead of call __compute directly
10 years ago
Adrien Peiffer (ACSONE)
b34f094a23
[ADD] Add possibility to define domain on function
10 years ago
Adrien Peiffer (ACSONE)
29e55f8398
[ADD] Add initial parameter
10 years ago
Adrien Peiffer (ACSONE)
508d981cd2
[ADD] Add credit and debit function
10 years ago
Laetitia Gangloff
3dacb87a7a
Add tooltip to see the expression used. Add onclick to go to account.move.line concerned
10 years ago
Laetitia Gangloff
c62137ad8d
Refactor to get language only once. Do not compute balance if there is not balance to compute. Use search to get account_ids
10 years ago
Laetitia Gangloff
99fa89fc26
rename default style
10 years ago
Laetitia Gangloff
2dcabe5f3d
mis_builder : add computing of solde
10 years ago
Laetitia Gangloff
5062a9f53f
add initial_balance in context
10 years ago
Laetitia Gangloff
5a9a566b2d
Add a default style on kpi, and combine it with the kpi style computed
10 years ago
Laetitia Gangloff
51583000a4
Add the variable bals_ to initialize the compute of solde
10 years ago
Laetitia Gangloff
90ec44b74f
Correct export excel from preview
10 years ago
Laetitia Gangloff
5ef8dcb68c
add multi company record rule on mis report instance
10 years ago
Stéphane Bidoul
6fa2a75c01
[FIX] mis_builder: typos in docstrings
10 years ago
Stéphane Bidoul
3f761f0f02
mis_builder: add TODO
10 years ago
Stéphane Bidoul
561a0907bb
pep8
10 years ago
Stéphane Bidoul
c6dad0fb6c
[IMP] mis_builder performance: fetch only balances that we need
plus cleanup autopep8 abuse
10 years ago
Stéphane Bidoul
6becf7af03
[IMP] prepare performance optimization to fetch only used balances (WIP)
10 years ago
Stéphane Bidoul
d3a4f6d492
[IMP] mis_builder: clarify the construction of python variables
Plus add some TODO's
10 years ago
Stéphane Bidoul
f9ebf5677f
[IMP] pep8
10 years ago