[FIX]Communication label useless in coda_note if communication empty
bzr revid: dle@openerp.com-20121210161359-oul0rt2l4f37oxov
This commit is contained in:
parent
7b9bd9610c
commit
ce27860092
|
@ -346,8 +346,8 @@ class account_coda_import(osv.osv_memory):
|
|||
line['account'] = statement['journal_id'].default_debit_account_id.id
|
||||
else:
|
||||
line['account'] = statement['journal_id'].default_credit_account_id.id
|
||||
|
||||
note.append(_('Communication') + ': ' + line['communication'])
|
||||
if 'communication' in line and line['communication'] != '':
|
||||
note.append(_('Communication') + ': ' + line['communication'])
|
||||
if 'voucher_id' not in line:
|
||||
line['voucher_id'] = None
|
||||
data = {
|
||||
|
|
Loading…
Reference in New Issue