Comment 7 for bug 892866

Revision history for this message
Paul Catinean (wiz-keed) wrote :

I've checked the lines you guys specified and it's just as the fix suggested, yet...

Traceback (most recent call last):
  File "/opt/openerp/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/opt/openerp/server/bin/service/web_services.py", line 636, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/server/bin/service/web_services.py", line 663, in exp_execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/opt/openerp/server/bin/service/web_services.py", line 645, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/opt/openerp/server/bin/wizard/__init__.py", line 177, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/opt/openerp/server/bin/wizard/__init__.py", line 72, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/opt/openerp/server/bin/addons/report_aeroo/wizard/report_actions.py", line 76, in _do_action
    res = 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

How the hell did this happen, it's a fresh database and it has worked before with the same module...does anyone know?