Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Delete Helpdesk Record

dave ellis
on 7/17/13, 6:55 AM 1,496 views

When I delete any helpdesk record I get the below error. Not sure why, as before I was able to delete any records from helpdesk whilst testing. Anyone else seen this issue?

Client Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, *self.params) File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1128, in call_kw return self._call_kw(req, model, method, args, kwargs) File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1120, in _call_kw return getattr(req.session.model(model), method)(args, **kwargs) File "/usr/lib/pymodules/python2.7/openerp/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 "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, params) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 188, in execute_kw return self.execute(db, uid, obj, method, *args, *kw or {}) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 131, in wrapper return f(self, dbname, args, *kwargs) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 197, in execute res = self.execute_cr(cr, uid, obj, method, args, *kw) File "/usr/lib/pymodules/python2.7/openerp/addons/audittrail/audittrail.py", line 513, in execute_cr return self.log_fct(cr, uid, model, method, fct_src, args, *kw) File "/usr/lib/pymodules/python2.7/openerp/addons/audittrail/audittrail.py", line 303, in log_fct self.process_data(cr, uid_orig, pool, res_ids, model, method, old_values, new_values, field_list) File "/usr/lib/pymodules/python2.7/openerp/addons/audittrail/audittrail.py", line 462, in process_data name = pool.get(model.model).name_get(cr, uid, [resource_id])[0][1] IndexError: list index out of range

dave ellis
On 7/17/13, 7:36 AM

Ok, if you install audit module, enable it on helpdesk and have all action set as default. Go back to the helpdesk and try to delete any record, the error occurs.

What you need to do is to unsubscribe to helpdesk, delete audit records and then try to delete the helpdesk record. It will not show the error and allows you to delete it. Have raised a bug for this, but the previous example should be fine as workaround.


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


Asked: 7/17/13, 6:55 AM
Seen: 1496 times
Last updated: 3/16/15, 8:10 AM