Skip to content
Snippets Groups Projects
Commit df54691e authored by Quentin De Paoli's avatar Quentin De Paoli
Browse files

[FIX] l10n_be_coda: if there's no communication, feed the field with '/' instead of an empty string

parent 2a1f447d
No related branches found
No related tags found
No related merge requests found
......@@ -308,7 +308,7 @@ class account_coda_import(osv.osv_memory):
if line.get('communication', ''):
note.append(_('Communication') + ': ' + line['communication'])
data = {
'name': structured_com or line['communication'],
'name': structured_com or (line.get('communication', '') != '' and line['communication'] or '/'),
'note': "\n".join(note),
'date': line['entryDate'],
'amount': line['amount'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment