← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 865223] Re: in Address Book of customer or supplier, when creating a new Bank Details it throws error

 

Seems like this bug does not happen any more, need confirmation.

-- 
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/865223

Title:
  in Address Book of customer or supplier, when creating a new Bank
  Details it throws error

Status in OpenERP Web:
  Confirmed

Bug description:
  Address Book > Customers or supplier > Accounting Tab > Bank Detail > new
  # in Address book (customer or supplier ), while creating new Bank Details(O2M field) , i got a Traceback from both gtk client as well as web-client, 
   
  OpenERP Server Error
  Client Traceback (most recent call last):
    File "/home/han/rdtool/client-web/trunk/addons/web/common/dispatch.py", line 161, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 769, in default_get
      return Model.default_get(fields, req.session.eval_context(req.context))
    File "/home/han/rdtool/client-web/trunk/addons/web/common/openerplib/main.py", line 373, in proxy
      *args)
    File "/home/han/rdtool/client-web/trunk/addons/web/common/openerplib/main.py", line 250, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/han/rdtool/client-web/trunk/addons/web/common/openerplib/main.py", line 102, in send
      return getattr(service, method)(*args)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
      return self.__send(self.__name, args)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
      verbose=self.__verbose
    File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
      return self._parse_response(h.getfile(), sock)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
      return u.close()
    File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
      raise Fault(**self._stack[0])

  
  Server Traceback (most recent call last):
    File "/home/han/rdtool/server/trunk/openerp/wsgi.py", line 77, in xmlrpc_return
      result = openerp.netsvc.dispatch_rpc(service, method, params)
    File "/home/han/rdtool/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/han/rdtool/server/trunk/openerp/service/web_services.py", line 573, in dispatch
      res = fn(db, uid, *params)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 1424, in default_get
      defaults[f] = self._defaults[f](self, cr, uid, context)
    File "/home/han/rdtool/server/trunk/openerp/addons/base/res/res_bank.py", line 142, in <lambda>
      cursor, user, 'name', context=context),
    File "/home/han/rdtool/server/trunk/openerp/addons/base/res/res_bank.py", line 110, in _default_value
      if address.get('type', False) == 'default':
  AttributeError: 'bool' object has no attribute 'get'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/865223/+subscriptions


References