[FIX] l10n_be_coda: if there's no communication, feed the field with '/' instead of an empty string
This commit is contained in:
parent
2a1f447d06
commit
df54691ea2
|
@ -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'],
|
||||
|
|
Loading…
Reference in New Issue