[FIX] mis_builder: fix detection of expression with accounting variables

pull/86/head
Stéphane Bidoul 2015-04-28 18:37:30 +02:00
parent 4493a4ec0b
commit 568242ac82
1 changed files with 1 additions and 1 deletions

View File

@ -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,