Odoo Help

Welcome!

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.

0

Index out of Range : Why this error comes

By
Amol Gangajaliwale
on 6/30/14, 8:00 AM 1,135 views

Hi guys, I am getting this error normally . I really don't know why this error comes and who to resolve it.

 

2014-06-30 11:57:13,984 26068 INFO VEMPL1 werkzeug: 127.0.0.1 - - [30/Jun/2014 11:57:13] "POST /web/dataset/call_kw HTTP/1.1" 200 -
2014-06-30 11:57:14,297 26068 ERROR VEMPL1 openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/addons/audittrail/audittrail.py", line 513, in execute_cr
    return self.log_fct(cr, uid, model, method, fct_src, *args, **kw)
  File "/home/server/workspace/openerp/openerp-7.0server/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 "/home/server/workspace/openerp/openerp-7.0server/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
2014-06-30 11:57:14,297 26068 ERROR VEMPL1 openerp.netsvc: list index out of range
Traceback (most recent call last):
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/server/workspace/openerp/openerp-7.0server/openerp/addons/audittrail/audittrail.py", line 513, in execute_cr
    return self.log_fct(cr, uid, model, method, fct_src, *args, **kw)
  File "/home/server/workspace/openerp/openerp-7.0server/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 "/home/server/workspace/openerp/openerp-7.0server/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

 

Thanks in Advance

0

Prakash

--Prakash--
3173
| 5 4 7
Bikaner, India
--Prakash--

OpenERP Devloper at SunARC Technology

Prakash
On 6/30/14, 8:20 AM

This was fixed in 7.0 at the following revision.

https://bugs.launchpad.net/openobject-addons/+bug/1093467

Related Issues change the code mentioned in the below link.

https://www.odoo.com/forum/Help-1/question/Audit-Trail-impedes-deleting-journal-entries-accountmove-43830

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

1 follower(s)

Stats

Asked: 6/30/14, 8:00 AM
Seen: 1135 times
Last updated: 3/16/15, 8:10 AM