Browse Source

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

pull/86/head
Stéphane Bidoul 10 years ago
parent
commit
568242ac82
  1. 2
      mis_builder/models/aep.py

2
mis_builder/models/aep.py

@ -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…
Cancel
Save