[11.0][FIX] base_transaction_id (fix migration)
parent
2f069c9952
commit
8e83a47068
|
@ -33,12 +33,11 @@ class AccountMoveLine(models.Model):
|
||||||
return prepared_lines
|
return prepared_lines
|
||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
def domain_move_lines_for_reconciliation(self, excluded_ids=None,
|
def domain_move_lines_for_reconciliation(self, str=False):
|
||||||
str=False):
|
|
||||||
"""Add transaction_ref in search of move lines."""
|
"""Add transaction_ref in search of move lines."""
|
||||||
_super = super(AccountMoveLine, self)
|
_super = super(AccountMoveLine, self)
|
||||||
_get_domain = _super.domain_move_lines_for_reconciliation
|
_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 != '/':
|
if not str and str != '/':
|
||||||
return domain
|
return domain
|
||||||
domain_trans_ref = [('transaction_ref', 'ilike', str)]
|
domain_trans_ref = [('transaction_ref', 'ilike', str)]
|
||||||
|
|
Loading…
Reference in New Issue