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