Merge lp:~openerp-dev/openobject-addons/trunk-bug-737489-mra into lp:openobject-addons

Proposed by Mustufa Rangwala (Open ERP)
Status: Merged
Merged at revision: 4579
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-737489-mra
Merge into: lp:openobject-addons
Diff against target: 15 lines (+2/-2)
1 file modified
account/wizard/account_reconcile.py (+2/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-737489-mra
Reviewer Review Type Date Requested Status
OpenERP buildbot (community) Disapprove
qdp (OpenERP) Pending
Review via email: mp+53983@code.launchpad.net
To post a comment you must log in.
Revision history for this message
OpenERP buildbot (openerp-buildbot) wrote :

product/test/product_report.yml: 'int' object is unsubscriptable
account/test/account_fiscalyear_close_state.yml: 'int' object is unsubscriptable
project/test/test_project_delegation.yml: 'int' object is unsubscriptable
project_long_term/test/test_schedule_phases_case1.yml: 'int' object is unsubscriptable
project_gtd/test/gtd_test.yml: 'int' object is unsubscriptable

review: Disapprove

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/wizard/account_reconcile.py'
2--- account/wizard/account_reconcile.py 2011-02-15 12:13:39 +0000
3+++ account/wizard/account_reconcile.py 2011-03-18 12:55:44 +0000
4@@ -153,9 +153,9 @@
5 if context is None:
6 context = {}
7 data = self.read(cr, uid, ids,context=context)[0]
8- account_id = data['writeoff_acc_id']
9+ account_id = data['writeoff_acc_id'][0]
10 context['date_p'] = data['date_p']
11- journal_id = data['journal_id']
12+ journal_id = data['journal_id'][0]
13 context['comment'] = data['comment']
14 if data['analytic_id']:
15 context['analytic_id'] = data['analytic_id']

Subscribers

People subscribed via source and target branches

to all changes: