report_aeroo breaks the form view of normal ir.actions.report.xml

Bug #1324497 reported by Ivan Wirawan
34
This bug affects 21 people
Affects Status Importance Assigned to Milestone
Aeroo Reports
Fix Committed
Undecided
Unassigned

Bug Description

The code to check deferred_processing module in report_aeroo/report_xml.py breaks the form view of ordinary ir.actions.report.xml, e.g. if called from Setting -> Technical -> Actions -> Reports.

The cause is that the variable deferred_node and deferred_limit_node maybe empty list, hence causing index out of range error when referenced in line 387 and 389 respectively.

I've included a patch to fix the issue.

Related branches

Revision history for this message
Ivan Wirawan (niecw) wrote :
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Thanks. There was already a bug report covering this with branches and all, but someone accidentally set this to 'Fix released', which makes it hard to find when you search for existing bugs. I marked that as a duplicate of this bug, so that we have a new 'Fix committed' version of this issue.

Changed in aeroo:
status: New → Fix Committed
Revision history for this message
Ivan Wirawan (niecw) wrote :

Stefan,

Thank you for the response. I'll apply the patch to my code here. Any plan/timeline to commit it the branches? Or am I following the incorrect one?

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Hi Ivan, Alistek refuses to share the repository access with other contributors, so there is nothing that I can do about the dismal maintenance state of this project.

Revision history for this message
Ivan Wirawan (niecw) wrote :

Thank you Stefan.

Revision history for this message
Mario Arias (the-clone-master) wrote : Re: [Bug 1324497] Re: report_aeroo breaks the form view of normal ir.actions.report.xml

Hi Stefan,
Do you know of any work done porting aeroo to V8??

I have a locally modified branch adjusting the namespace to openerp. but
aeroo_ooo fails to load...

If there is none, I can upload mine if anyone wants to take a look and try
to fix...

Regards,
Mario
El 10/06/2014 05:11, "Stefan Rijnhart (Therp)" <email address hidden>
escribió:
>
> Hi Ivan, Alistek refuses to share the repository access with other
> contributors, so there is nothing that I can do about the dismal
> maintenance state of this project.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1182780).
> https://bugs.launchpad.net/bugs/1324497
>
> Title:
> report_aeroo breaks the form view of normal ir.actions.report.xml
>
> Status in Aeroo Reports for Open ERP:
> Fix Committed
>
> Bug description:
> The code to check deferred_processing module in
> report_aeroo/report_xml.py breaks the form view of ordinary
> ir.actions.report.xml, e.g. if called from Setting -> Technical ->
> Actions -> Reports.
>
> The cause is that the variable deferred_node and deferred_limit_node
> maybe empty list, hence causing index out of range error when
> referenced in line 387 and 389 respectively.
>
> I've included a patch to fix the issue.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/aeroo/+bug/1324497/+subscriptions

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

@mario This was the bare minimum we needed one month agon to get odt reports generated on the trunk of the day: lp:~therp-nl/aeroo/openerp8

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.