After logging into Odoo, navigating to the Customer's list under Sales, I get the following error when I click on any of the listed customers. This is happening for only a few users. I'm unable to make sense of the error. Can someone tell me how to go about resolving this? Any help is appreciated.
Odoo Server Error Traceback (most recent call last):
File "/squashng/squashng-server/openerp/http.py", line 643, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/squashng/squashng-server/openerp/http.py", line 680, in dispatch
result = self._call_function(**self.params)
File "/squashng/squashng-server/openerp/http.py", line 316, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/squashng/squashng-server/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/squashng/squashng-server/openerp/http.py", line 309, in checked_call
result = self.endpoint(*a, **kw)
File "/squashng/squashng-server/openerp/http.py", line 959, in __call__
return self.method(*args, **kw)
File "/squashng/squashng-server/openerp/http.py", line 509, in response_wrap
response = f(*args, **kw)
File "/squashng/squashng-server/addons/web/controllers/main.py", line 896, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/squashng/squashng-server/addons/web/controllers/main.py", line 888, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/squashng/squashng-server/openerp/addons/base/res/res_partner.py", line 295, in fields_view_get
res = super(res_partner,self).fields_view_get(cr, user, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu)
File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/squashng/squashng-server/openerp/api.py", line 354, in old_api
result = method(recs, *args, **kwargs)
File "/squashng/squashng-server/addons/mail/models/mail_thread.py", line 366, in fields_view_get
res = super(MailThread, self).fields_view_get(view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)
File "/squashng/squashng-server/openerp/api.py", line 248, in wrapper
return new_api(self, *args, **kwargs)
File "/squashng/squashng-server/openerp/api.py", line 490, in new_api
result = method(self._model, cr, uid, *args, **old_kwargs)
File "/squashng/squashng-server/openerp/models.py", line 1536, in fields_view_get
root_view = View.read_combined(cr, uid, view_id, fields=['id', 'name', 'field_parent', 'type', 'model', 'arch'], context=context)
File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/squashng/squashng-server/openerp/addons/base/ir/ir_ui_view.py", line 661, in read_combined
cr, uid, arch_tree, root_id, base.model, context=context)
File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/squashng/squashng-server/openerp/addons/base/ir/ir_ui_view.py", line 609, in apply_view_inheritance
source = self.apply_inheritance_specs(cr, uid, source, specs_tree, view_id, context=context)
File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/squashng/squashng-server/openerp/addons/base/ir/ir_ui_view.py", line 587, in apply_inheritance_specs
self.raise_view_error(cr, uid, _("Element '%s' cannot be located in parent view") % tag, inherit_id, context=context)
File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/squashng/squashng-server/openerp/addons/base/ir/ir_ui_view.py", line 463, in raise_view_error
raise AttributeError(message)
AttributeError: Element '<xpath expr="//field[@name='debit']">' cannot be located in parent view
Error context:
View `res.partner`
[view_id: 1383, xml_id: invoice_payment_receipt.view_partner_form_send_invoice_payment_inherit_id, model: res.pa