projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b9bd96
)
[FIX]Communication label useless in coda_note if communication empty
author
dle@openerp.com
<>
Mon, 10 Dec 2012 16:13:59 +0000
(17:13 +0100)
committer
dle@openerp.com
<>
Mon, 10 Dec 2012 16:13:59 +0000
(17:13 +0100)
bzr revid: dle@openerp.com-
20121210161359
-oul0rt2l4f37oxov
addons/l10n_be_coda/wizard/account_coda_import.py
patch
|
blob
|
history
diff --git
a/addons/l10n_be_coda/wizard/account_coda_import.py
b/addons/l10n_be_coda/wizard/account_coda_import.py
index
d5f4033
..
c19c3fb
100644
(file)
--- a/
addons/l10n_be_coda/wizard/account_coda_import.py
+++ b/
addons/l10n_be_coda/wizard/account_coda_import.py
@@
-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 = {