Merge lp:~openerp-dev/openobject-addons/trunk-opw-574923-port-mma into lp:openobject-addons

Proposed by Mayur Maheshwari(OpenERP)
Status: Rejected
Rejected by: Fabien (Open ERP)
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-opw-574923-port-mma
Merge into: lp:openobject-addons
Diff against target: 15 lines (+3/-2)
1 file modified
account_analytic_plans/report/ (+3/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-opw-574923-port-mma
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email:

Description of the change


     Can't print crossovered analytic report.

1. Project => Invoicing => Contracts to Renew
2. Open any record.
3. From Sidebar select Crossovered Analytic from Reports
4. Fill up all required information and click on "print" Button.
   Got Error
           "Index Error: list index out of range"
   code is forward port from 6.1


To post a comment you must log in.
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

final_list is not defined if not ids

Unmerged revisions

8147. By Bhumi Thakkar (Open ERP)

[FIX]account_analytic_plans: Put condition before find childrens based on used id

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_analytic_plans/report/'
2--- account_analytic_plans/report/ 2012-10-02 10:29:15 +0000
3+++ account_analytic_plans/report/ 2012-11-28 07:19:30 +0000
4@@ -128,8 +128,9 @@
5 acc_id = []
6 final = []
7 self.list_ids = []
9- self.final_list = self.find_children(ids)
11+ if ids:
12+ self.final_list = self.find_children(ids)
14 for acc_id in self.final_list:
15 selected_ids =, self.uid, [('account_id','=',acc_id), ('move_id', 'in', self.dict_acc_ref[form['ref']])])


People subscribed via source and target branches

to all changes: