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

This commit is contained in:
qdp-odoo 2014-09-02 10:52:11 +02:00
parent 2a1f447d06
commit df54691ea2
1 changed files with 1 additions and 1 deletions

View File

@ -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'],