[trunk] attribute error when create claim
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 1 |
Bug Description
steps to reproduce
-go to sales->
error raised :
Client Traceback (most recent call last):
File "/home/
response[
File "/home/
result = self.call_
File "/home/
return self._call_kw(req, model, method, args, {})
File "/home/
return getattr(
File "/home/
result = self.proxy.
File "/home/
result = self.session.
File "/home/
raise xmlrpclib.
Server Traceback (most recent call last):
File "/home/
return openerp.
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
AttributeError: 'crm.claim' object has no attribute 'onchange_stage_id'
thanks
shp
Related branches
- Ajay Patel (OpenERP) (community): Approve
- Atul Patel(OpenERP): Pending requested
-
Diff: 86 lines (+11/-22)3 files modifiedcrm_claim/crm_claim.py (+1/-1)
crm_claim/crm_claim_data.xml (+6/-12)
crm_claim/crm_claim_view.xml (+4/-9)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1) |
importance: | Undecided → Medium |
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): tch/workspace/ openerp- tools/web/ trunk/addons/ web/http. py", line 174, in dispatch "result" ] = method(self, **self.params) tch/workspace/ openerp- tools/web/ trunk/addons/ web/controllers /main.py" , line 1235, in onchange common( req, model, method, args, context_ id=context_ id) tch/workspace/ openerp- tools/web/ trunk/addons/ web/controllers /main.py" , line 1189, in call_common tch/workspace/ openerp- tools/web/ trunk/addons/ web/controllers /main.py" , line 1213, in _call_kw req.session. model(model) , method)(*args, **kwargs) tch/workspace/ openerp- tools/web/ trunk/addons/ web/session. py", line 42, in proxy execute_ kw(self. session. _db, self.session._uid, self.session. _password, self.model, method, args, kw) tch/workspace/ openerp- tools/web/ trunk/addons/ web/session. py", line 30, in proxy_method send(self. service_ name, method, *args) tch/workspace/ openerp- tools/web/ trunk/addons/ web/session. py", line 105, in send Fault(openerp. tools.exception _to_unicode( e), formatted_info)
File "/home/
response[
File "/home/
result = self.call_
File "/home/
return self._call_kw(req, model, method, args, {})
File "/home/
return getattr(
File "/home/
result = self.proxy.
File "/home/
result = self.session.
File "/home/
raise xmlrpclib.
Server Traceback (most recent call last): tch/workspace/ openerp- tools/web/ trunk/addons/ web/session. py", line 91, in send netsvc. dispatch_ rpc(service_ name, method, args) tch/workspace/ openerp- tools/server/ trunk/openerp/ netsvc. py", line 361, in dispatch_rpc getService( service_ name).dispatch( method, params) tch/workspace/ openerp- tools/server/ trunk/openerp/ service/ web_services. py", line 585, in dispatch tch/workspace/ openerp- tools/server/ trunk/openerp/ osv/osv. py", line 167, in execute_kw tch/workspace/ openerp- tools/server/ trunk/openerp/ osv/osv. py", line 121, in wrapper tch/workspace/ openerp- tools/server/ trunk/openerp/ osv/osv. py", line 176, in execute tch/workspace/ openerp- tools/server/ trunk/openerp/ osv/osv. py", line 164, in execute_cr
File "/home/
return openerp.
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
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.