openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #17306
[Bug 1073825] Re: [trunk] attribute error when create claim
Hello Pankita,
Thanks for reporting,
I have checked your Issue in latest trunk and I have faced same error as you define in bug.
Traceback is :
Client Traceback (most recent call last):
File "/home/tch/workspace/openerp-tools/web/trunk/addons/web/http.py", line 174, in dispatch
response["result"] = method(self, **self.params)
File "/home/tch/workspace/openerp-tools/web/trunk/addons/web/controllers/main.py", line 1235, in onchange
result = self.call_common(req, model, method, args, context_id=context_id)
File "/home/tch/workspace/openerp-tools/web/trunk/addons/web/controllers/main.py", line 1189, in call_common
return self._call_kw(req, model, method, args, {})
File "/home/tch/workspace/openerp-tools/web/trunk/addons/web/controllers/main.py", line 1213, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/home/tch/workspace/openerp-tools/web/trunk/addons/web/session.py", line 42, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/home/tch/workspace/openerp-tools/web/trunk/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/home/tch/workspace/openerp-tools/web/trunk/addons/web/session.py", line 105, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/home/tch/workspace/openerp-tools/web/trunk/addons/web/session.py", line 91, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/tch/workspace/openerp-tools/server/trunk/openerp/netsvc.py", line 361, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/tch/workspace/openerp-tools/server/trunk/openerp/service/web_services.py", line 585, in dispatch
res = fn(db, uid, *params)
File "/home/tch/workspace/openerp-tools/server/trunk/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/tch/workspace/openerp-tools/server/trunk/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/tch/workspace/openerp-tools/server/trunk/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/tch/workspace/openerp-tools/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
AttributeError: 'crm.claim' object has no attribute 'onchange_stage_id'
So, I am confirming this Issue.
Thanks you.
** Changed in: openobject-addons
Status: New => Confirmed
--
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/1073825
Title:
[trunk] attribute error when create claim
Status in OpenERP Addons (modules):
In Progress
Bug description:
steps to reproduce
-go to sales->claim->create claim
error raised :
Client Traceback (most recent call last):
File "/home/shp/workspace/rdtools/web/addons/web/http.py", line 175, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/shp/workspace/rdtools/web/addons/web/controllers/main.py", line 1235, in onchange
result = self.call_common(req, model, method, args, context_id=context_id)
File "/home/shp/workspace/rdtools/web/addons/web/controllers/main.py", line 1189, in call_common
return self._call_kw(req, model, method, args, {})
File "/home/shp/workspace/rdtools/web/addons/web/controllers/main.py", line 1213, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/home/shp/workspace/rdtools/web/addons/web/session.py", line 42, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/home/shp/workspace/rdtools/web/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/home/shp/workspace/rdtools/web/addons/web/session.py", line 105, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/home/shp/workspace/rdtools/web/addons/web/session.py", line 91, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/shp/workspace/rdtools/servers/trunk/openerp/netsvc.py", line 361, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/shp/workspace/rdtools/servers/trunk/openerp/service/web_services.py", line 585, in dispatch
res = fn(db, uid, *params)
File "/home/shp/workspace/rdtools/servers/trunk/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/shp/workspace/rdtools/servers/trunk/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/shp/workspace/rdtools/servers/trunk/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/shp/workspace/rdtools/servers/trunk/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
AttributeError: 'crm.claim' object has no attribute 'onchange_stage_id'
thanks
shp
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1073825/+subscriptions
References