Swapped parameters in file report_aeroo/report_aeroo.py

Bug #1194290 reported by Damián Soriano
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Aeroo Reports
Confirmed
Medium
Unassigned

Bug Description

In the module report_aeroo of the version 7.0, in the file report_aeroo.py, when defining the function "_include_document(self, print_id, aeroo_ooo=False)" the first parameter that appears is "print_id" and the second is "aeroo_ooo". This can be seen in:

http://bazaar.launchpad.net/~kndati/aeroo/openerp7/view/head:/report_aeroo/report_aeroo.py#L222

But when the function is used at line 503 "self._include_document(aeroo_ooo, print_id)", the parameters are inverted. This can be seen in:

http://bazaar.launchpad.net/~kndati/aeroo/openerp7/view/head:/report_aeroo/report_aeroo.py#L503

A solution is to correct the order of the parameters in line 503.

Regards,

Damián Soriano

Related branches

Changed in aeroo:
status: New → Confirmed
Changed in aeroo:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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