From 062f6446dfaeb0109450f0082ce4d270caebb648 Mon Sep 17 00:00:00 2001 From: "Bharat (OpenERP)" Date: Thu, 3 Nov 2011 15:26:12 +0530 Subject: [PATCH] [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 --- addons/account/wizard/account_reconcile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/wizard/account_reconcile.py b/addons/account/wizard/account_reconcile.py index d03051b2ccb..729792e2222 100644 --- a/addons/account/wizard/account_reconcile.py +++ b/addons/account/wizard/account_reconcile.py @@ -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']