← Back to team overview

openerp-india team mailing list archive

[Bug 941543] Re: (6.1) Error when opening cashbox

 

** Branch linked: lp:~openerp-dev/openobject-addons/6.1-opw-
572632_and_573054-msh

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

Title:
  (6.1) Error when opening cashbox

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Hi,

  when trying to open cashbox in OpenERP Web client 6.1, following error
  appears:

  Client Traceback (most recent call last):
    File "/home/odoo/openerp61/server/6.1/openerp/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/odoo/openerp61/server/6.1/openerp/addons/web/controllers/main.py", line 922, in create
      r = m.create(data, req.session.eval_context(req.context))
    File "/home/odoo/openerp61/server/6.1/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/home/odoo/openerp61/server/6.1/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/odoo/openerp61/server/6.1/openerp/addons/web/common/http.py", line 611, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/home/odoo/openerp61/server/6.1/openerp/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/odoo/openerp61/server/6.1/openerp/netsvc.py", line 360, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/odoo/openerp61/server/6.1/openerp/service/web_services.py", line 572, in dispatch
      res = fn(db, uid, *params)
    File "/home/odoo/openerp61/server/6.1/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/odoo/openerp61/server/6.1/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/odoo/openerp61/server/6.1/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/odoo/openerp61/server/6.1/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/odoo/openerp61/server/6.1/openerp/addons/account/account_cash_statement.py", line 220, in create
      if end[2]['pieces'] == dict_val['pieces']:
  TypeError: 'bool' object is unsubscriptable

  
  Thanks for help,

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


References