From 8e83a4706891e665fa50f4ea5056fe45e263e6c6 Mon Sep 17 00:00:00 2001 From: jcoux Date: Fri, 5 Oct 2018 10:32:23 +0200 Subject: [PATCH] [11.0][FIX] base_transaction_id (fix migration) --- base_transaction_id/models/account_move.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/base_transaction_id/models/account_move.py b/base_transaction_id/models/account_move.py index 50ad6c19..7dfa43e1 100644 --- a/base_transaction_id/models/account_move.py +++ b/base_transaction_id/models/account_move.py @@ -33,12 +33,11 @@ class AccountMoveLine(models.Model): return prepared_lines @api.model - def domain_move_lines_for_reconciliation(self, excluded_ids=None, - str=False): + def domain_move_lines_for_reconciliation(self, str=False): """Add transaction_ref in search of move lines.""" _super = super(AccountMoveLine, self) _get_domain = _super.domain_move_lines_for_reconciliation - domain = _get_domain(excluded_ids=excluded_ids, str=str) + domain = _get_domain(str=str) if not str and str != '/': return domain domain_trans_ref = [('transaction_ref', 'ilike', str)]