From a41fbd13f00a85bd3690a63d1d152e37622b811f Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Mon, 25 Sep 2017 18:44:47 +0200 Subject: [PATCH] [ADD] also look at move_id.name and move_id.ref --- ...count_bank_statement_import_auto_reconcile_exact_amount.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/account_bank_statement_import_auto_reconcile/models/account_bank_statement_import_auto_reconcile_exact_amount.py b/account_bank_statement_import_auto_reconcile/models/account_bank_statement_import_auto_reconcile_exact_amount.py index e86d10f..c56dfb3 100644 --- a/account_bank_statement_import_auto_reconcile/models/account_bank_statement_import_auto_reconcile_exact_amount.py +++ b/account_bank_statement_import_auto_reconcile/models/account_bank_statement_import_auto_reconcile_exact_amount.py @@ -35,7 +35,9 @@ class AccountBankStatementImportAutoReconcileExactAmount(models.AbstractModel): sign = -1 domain = [ - '|', '|', '|', + '|', '|', '|', '|', '|', + ('move_id.ref', operator, statement_line.ref or ''), + ('move_id.name', operator, statement_line.name or ''), ('ref', operator, statement_line.ref or ''), ('name', operator, statement_line.name or ''), ('ref', operator, statement_line.name or ''),