[FIX] account : can't write off invoice with analytic account in reconcile entries wizard
lp bug: https://launchpad.net/bugs/885571 fixed bzr revid: bde@tinyerp.com-20111103095612-liyro0uztuac10zo
This commit is contained in:
parent
3d0ed0950b
commit
062f6446df
|
@ -158,7 +158,7 @@ class account_move_line_reconcile_writeoff(osv.osv_memory):
|
|||
journal_id = data['journal_id'][0]
|
||||
context['comment'] = data['comment']
|
||||
if data['analytic_id']:
|
||||
context['analytic_id'] = data['analytic_id']
|
||||
context['analytic_id'] = data['analytic_id'][0]
|
||||
if context['date_p']:
|
||||
date = context['date_p']
|
||||
|
||||
|
|
Loading…
Reference in New Issue