From 842c3ddabc4a70372b1da15ea5328552134b1deb Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Wed, 3 Dec 2014 14:14:44 +0100 Subject: [PATCH] Singular of criteria: criterion --- base_transaction_id/account_bank_statement.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/base_transaction_id/account_bank_statement.py b/base_transaction_id/account_bank_statement.py index c1ad0c74..e9d6346b 100644 --- a/base_transaction_id/account_bank_statement.py +++ b/base_transaction_id/account_bank_statement.py @@ -49,13 +49,13 @@ class account_bank_statement_line(orm.Model): domain = _get_domain(cr, uid, st_line, excluded_ids=excluded_ids, context=context) new_domain = [] - for criterium in domain: - if len(criterium) == 3: - field, op, value = criterium + for criterion in domain: + if len(criterion) == 3: + field, op, value = criterion if (field, op) == ('ref', '='): new_domain += [ '|', ('transaction_ref', '=', value), ] - new_domain.append(criterium) + new_domain.append(criterion) return new_domain