[FIX] mis_builder: fix detection of expression with accounting variables
parent
4493a4ec0b
commit
568242ac82
|
@ -155,7 +155,7 @@ class AccountingExpressionProcessor(object):
|
|||
self._map_account_ids[key] = list(account_ids)
|
||||
|
||||
def has_account_var(self, expr):
|
||||
return bool(self.ACC_RE.match(expr))
|
||||
return bool(self.ACC_RE.search(expr))
|
||||
|
||||
def get_aml_domain_for_expr(self, expr,
|
||||
date_from, date_to,
|
||||
|
|
Loading…
Reference in New Issue