Browse Source

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

pull/86/head
Stéphane Bidoul 10 years ago
parent
commit
1850957539
  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