Browse Source

[FIX] mis_builder: fix regexp in legacy mode for account codes containing letters

pull/90/head
Stéphane Bidoul 10 years ago
parent
commit
2c1d3c6fe8
  1. 2
      mis_builder/models/aep.py

2
mis_builder/models/aep.py

@ -79,7 +79,7 @@ class AccountingExpressionProcessor(object):
ACC_RE = re.compile(r"(?P<field>\bbal|\bcrd|\bdeb)"
r"(?P<mode>[pise])?"
r"(?P<accounts>_[0-9]+|\[.*?\])"
r"(?P<accounts>_[a-zA-Z0-9]+|\[.*?\])"
r"(?P<domain>\[.*?\])?")
def __init__(self, env):

Loading…
Cancel
Save