Erro in customer invoices list

Bug #1176079 reported by Joao Alfredo Gama Batista
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Released
Joao Alfredo Gama Batista

Bug Description

When clicking on the customer invoices option in the account menu and cleanning the filter we got the following error:

Client Traceback (most recent call last):
  File "/opt/openerp/openerp7/web/addons/web/", line 204, in dispatch
    response["result"] = method(self, **self.params)
  File "/opt/openerp/openerp7/web/addons/web/controllers/", line 1055, in search_read
    return self.do_search_read(req, model, fields, offset, limit, domain, sort)
  File "/opt/openerp/openerp7/web/addons/web/controllers/", line 1090, in do_search_read
    records =, fields or False, req.context)
  File "/opt/openerp/openerp7/web/addons/web/", line 43, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/opt/openerp/openerp7/web/addons/web/", line 31, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/opt/openerp/openerp7/web/addons/web/", line 104, in send
    raise xmlrpclib.Fault(, formatted_info)

Server Traceback (most recent call last):
  File "/opt/openerp/openerp7/web/addons/web/", line 90, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openerp/env/local/lib/python2.7/site-packages/openerp-7.0-py2.7.egg/openerp/", line 293, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/env/local/lib/python2.7/site-packages/openerp-7.0-py2.7.egg/openerp/service/", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/env/local/lib/python2.7/site-packages/openerp-7.0-py2.7.egg/openerp/osv/", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openerp/env/local/lib/python2.7/site-packages/openerp-7.0-py2.7.egg/openerp/osv/", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/env/local/lib/python2.7/site-packages/openerp-7.0-py2.7.egg/openerp/osv/", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/openerp7/addons/audittrail/", line 514, in execute_cr
    return fct_src(cr, uid, model, method, *args, **kw)
  File "/opt/openerp/env/local/lib/python2.7/site-packages/openerp-7.0-py2.7.egg/openerp/osv/", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/env/local/lib/python2.7/site-packages/openerp-7.0-py2.7.egg/openerp/osv/", line 3604, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/opt/openerp/env/local/lib/python2.7/site-packages/openerp-7.0-py2.7.egg/openerp/osv/", line 3724, in _read_flat
    res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
  File "/opt/openerp/env/local/lib/python2.7/site-packages/openerp-7.0-py2.7.egg/openerp/osv/", line 1131, in get
    result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
  File "/opt/openerp/env/local/lib/python2.7/site-packages/openerp-7.0-py2.7.egg/openerp/osv/", line 1197, in _fnct_read
    value = value[field] or False
  File "/opt/openerp/env/local/lib/python2.7/site-packages/openerp-7.0-py2.7.egg/openerp/osv/", line 383, in __getitem__
    raise KeyError(error_msg)
KeyError: "Field 'address_invoice_id' does not exist in object 'browse_record(account.invoice, 28)'"

Openerp version: 7.0

Related branches

Changed in openerp-icm:
importance: Undecided → Medium
status: New → Fix Committed
Changed in openerp-icm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.