diff --git a/addons/l10n_be_coda/wizard/account_coda_import.py b/addons/l10n_be_coda/wizard/account_coda_import.py index 29a642d39ff..0d3d1cf1fa3 100644 --- a/addons/l10n_be_coda/wizard/account_coda_import.py +++ b/addons/l10n_be_coda/wizard/account_coda_import.py @@ -36,7 +36,7 @@ class account_bank_statement_import(osv.TransientModel): def _check_coda(self, cr, uid, data_file, context=None): # Matches the first 24 characters of a CODA file, as defined by the febelfin specifications - return re.match('0{5}\d{9}05[ D] {7}', data_file) != None + return re.match('0{5}\d{9}05[ D] +', data_file) != None def _parse_file(self, cr, uid, data_file, context=None): if not self._check_coda(cr, uid, data_file, context=context):