In idea module give vote wizard :'Field vote_limit not found in browse_record(idea.idea, 10)'

Bug #865057 reported by Hardik Ansodariya (OpenERP)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
High
OpenERP R&D Web Team

Bug Description

Tools > idea > give vote(wizard) >next

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 71, in xmlrpc_return
    # defined in ``openerp.exceptions`` are mapped to specific fault codes;
  File "/home/han/rdtool/server/trunk/openerp/netsvc.py", line 328, in dispatch_rpc
    if not logger.isEnabledFor(logging.DEBUG_RPC_ANSWER):
  File "/home/han/rdtool/server/trunk/openerp/service/web_services.py", line 568, in dispatch
    if method not in ['execute','exec_workflow']:
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 116, in wrapper
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 170, in execute
    if method.startswith('_'):
  File "/home/han/rdtool/server/trunk/openerp/osv/osv.py", line 161, in execute_cr
    if not object:
  File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 1409, in default_get
    self.view_init(cr, uid, fields_list, context)
  File "/home/han/rdtool/addons/trunk/idea/wizard/idea_post_vote.py", line 87, in view_init
    user_limit = idea.vote_limit
  File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 458, in __getattr__
    raise AttributeError(e)
AttributeError: 'Field vote_limit not found in browse_record(idea.idea, 9)'

Revision history for this message
Hardik Ansodariya (OpenERP) (han-tinyerp) wrote :
affects: openobject-server → openerp-web
Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

I confirm it.

Changed in openerp-web:
importance: Low → High
Changed in openerp-web:
status: Confirmed → In Progress
Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

Note for myself: look here: addons/idea/wizard/idea_post_vote.py line no. 160

Changed in openerp-web:
status: In Progress → Confirmed
status: Confirmed → In Progress
Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

Problem solved directly in the addons.

Changed in openerp-web:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.