Error in adding print button for first time on 6xrc6.

Bug #918722 reported by William Beltrán
This bug report is a duplicate of:  Bug #892866: Add print Button. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Aeroo Reports
New
Undecided
Unassigned

Bug Description

There is an error when you add a print button for first time in this version of aeroo, the errors says:
 File "/home/venado/openerp6.0.3/server/bin/addons/report_aeroo/wizard/report_actions.py", line 76, in _do_action
    res = ir.ir_set(cr, uid, 'action', 'client_print_multi', report.report_name, [report.model], 'ir.actions.report.xml,%d' % data['id'], isobject=True)
NameError: global name 'ir' is not defined

I figure out that in previos version you have an import ir in the file report_actions.py that is not present in this version, adding this linethis fix the problem.

Regards.

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.