-
- Downloads
[REF] account: reconciliation models: improve performance
When opening the reconciliation widget and calling the matching rules, instead of calling all the rules in a single huge SQL query and then iterating on all the statement lines to match them with the results, we now first group the lines per applicable model and each time call a distinct (but way smaller) query for each group, stopping trying other rules for a statement line when one returns candidates. More queries are performed, but they are way more simple.
Showing
- addons/account/models/account_reconcile_model.py 389 additions, 384 deletionsaddons/account/models/account_reconcile_model.py
- addons/account/tests/test_reconciliation_matching_rules.py 25 additions, 2 deletionsaddons/account/tests/test_reconciliation_matching_rules.py
- addons/account/views/account_reconcile_model_views.xml 1 addition, 0 deletionsaddons/account/views/account_reconcile_model_views.xml
Loading
Please register or sign in to comment