← Back to team overview

openerp-india team mailing list archive

[Bug 884161] Re: error in survey answers

 

Hello,
    The Issue is already fixed in branch : lp:~openerp-dev/openobject-addons/trunk-bug-862168-jam and at revision #5290 and it is already proposed for merging : https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-862168-jam/+merge/.

Thank You

** Changed in: openobject-addons
       Status: Confirmed => Fix Committed

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

Title:
  error in survey answers

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  chrome, trunk, survey

  example

  answer a survey, fill all info, done -> bug

  Client Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 873, in load
      return self.fields_view_get(req, model, view_id, view_type, toolbar=toolbar)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 763, in fields_view_get
      fvg = Model.fields_view_get(view_id, view_type, context, toolbar, submenu)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 417, in proxy
      *args)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 294, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 264, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 245, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/aline/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/aline/source/server/trunk/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/aline/source/addons/trunk/survey/wizard/survey_answer.py", line 413, in fields_view_get
      address_id = user_obj.browse(cr, uid, uid).address_id.id
    File "/home/aline/source/server/trunk/openerp/osv/orm.py", line 484, in __getattr__
      raise AttributeError(e)
  AttributeError: "Field 'address_id' does not exist in object 'browse_record(res.users, 1)'"

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