task closed -> printer error

Bug #316999 reported by Stephane Wirtel (OpenERP)
4
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

When we try to print a closed task, there is an error from the printer code in the client, certainly based on an error from the server.

Project Management -> New Task
create a new task, and close it, after try to print the gantt representation.

stephane@openerp:~/openerp/code/trunk/client/bin$ ./openerp-client.py
Traceback (most recent call last):
  File "/home/stephane/openerp/code/trunk/client/bin/widget/view/form.py", line 187, in _action
    value = obj._exec_action(act, data, context)
  File "/home/stephane/openerp/code/trunk/client/bin/modules/action/main.py", line 156, in _exec_action
    self.exec_report(action['report_name'], datas)
  File "/home/stephane/openerp/code/trunk/client/bin/modules/action/main.py", line 65, in exec_report
    printer.print_data(val)
  File "/home/stephane/openerp/code/trunk/client/bin/printer/printer.py", line 197, in print_data
    content = base64.decodestring(data['result'])
KeyError: 'result'

Changed in openobject-client:
status: New → In Progress
Changed in openobject-client:
status: In Progress → Fix Released
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.