← Back to team overview

credativ team mailing list archive

[Bug 898574] Re: printing - web / gtk incompatibility

 

data['model'] is not a supported key in reports, the method should use
`self.table`, which is set by report_rml's constructor.

** Project changed: openerp-web => openobject-addons

** Changed in: openobject-addons
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/898574

Title:
  printing - web / gtk incompatibility

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  using account_financial_report

  print invoice list
  works with gtk  in all versions and "old" web client

  
  [2011-12-01 10:40:52,399][?] ERROR:werkzeug:Error on request:
  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.1-py2.6.egg/werkzeug/serving.py", line 159, in run_wsgi
      execute(app)
    File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.1-py2.6.egg/werkzeug/serving.py", line 146, in execute
      application_iter = app(environ, start_response)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/wsgi.py", line 398, in application
      result = handler(environ, start_response)
    File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 393, in __call__
      return self.dispatch(environ, start_response)
    File "/usr/local/lib/python2.6/dist-packages/Werkzeug-0.8.1-py2.6.egg/werkzeug/wsgi.py", line 411, in __call__
      return self.app(environ, start_response)
    File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 428, in dispatch
      response.set_cookie(self.session_cookie, session.sid)
    File "/usr/lib/python2.6/contextlib.py", line 34, in __exit__
      self.gen.throw(type, value, traceback)
    File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 297, in session_context
      yield request.session
    File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 419, in dispatch
      result = handler( request, self.config)
    File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 273, in http_handler
      return HttpRequest(request, config).dispatch(controller, f)
    File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/http.py", line 228, in dispatch
      r = method(controller, self, **self.params)
    File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/controllers/main.py", line 1515, in index
      req.session._db, req.session._uid, req.session._password, report_id)
    File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/openerplib/main.py", line 306, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/srv/openerp/instances/trunk/openerp-web/addons/web/common/openerplib/main.py", line 261, in send
      fault = xmlrpclib.Fault('warning -- ' + e.name + '\n\n' + e.value, '')
  TypeError: coercing to Unicode: need string or buffer, tuple found

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/898574/+subscriptions