c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #33787
[Bug 865057] Re: In idea module give vote wizard :'Field vote_limit not found in browse_record(idea.idea, 10)'
Note for myself: look here: addons/idea/wizard/idea_post_vote.py line
no. 160
--
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/865057
Title:
In idea module give vote wizard :'Field vote_limit not found in
browse_record(idea.idea, 10)'
Status in OpenERP Web:
In Progress
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)'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/865057/+subscriptions
References