account-reconcile/account_reconcile_model_oca/models
Víctor Martínez bd711b03a6 [FIX] account_reconcile_model_oca: Add textual tokens to improve matching rules
Making `SUBSTRING(REGEXP_REPLACE(LOWER(...), '[^0-9a-z\s]', '', 'g'), '\S(?:.*\S)*')` is costly in sql.
To avoid that, the tokens are computed python-side to avoid this extra processing.
Also, we want to avoid extra conditions on the tokens before executing the queries (and avoid it if necessary).
For example, we want to execute the query matching the sale orders only if at least one token is prefixed correctly by 'SO'.

Related to 76da4b055f
2025-04-01 12:22:37 +02:00
..
__init__.py [ADD] account_reconcile_model_oca 2025-02-04 15:52:41 +07:00
account_bank_statement_line.py [FIX] account_reconcile_model_oca: reconciliation models 2025-04-01 12:21:49 +02:00
account_reconcile_model.py [FIX] account_reconcile_model_oca: Add textual tokens to improve matching rules 2025-04-01 12:22:37 +02:00