It looks like account_financial_report's report generation tries to
access the "model" key on the "data" dict, which the web client does not
currently set, and the GTK client does (as well as `id`). I'll have to
see with odo if this is an implementation detail of the GTK client, a
genuine feature or a common law feature.

** Changed in: openerp-web
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/898574

Title:
  printing - web / gtk incompatibility

Status in OpenERP Web:
  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/openerp-web/+bug/898574/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to