← Back to team overview

openerp-india team mailing list archive

[Bug 907487] Re: base_contact inherit error

 

I'm not too clear what the solution was here.

I have the latest stable release of 6.1 and I have just installed base_contact and I am getting the following error when accessing a partner record (which is the same as above)
AttributeError: View definition error for inherited view 'base_contact.view_partner_form_inherit' on model 'res.partner': Element '<xpath expr="//field[@string='Contact Name']">' not found

I have also get the latest addons from bzr branch lp:openobject-
addons/6.1

I uninstalled the base_contact included as part of the release and then
symlinked to the latest base_contact in openobject-addons/6.1 (in case
it was different) but I still get the same error.

Was this fixed?

Should I be using an even newer branch of openobject-addons?

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/907487

Title:
  base_contact inherit error

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  Server Traceback (most recent call last):
    File "/srv/openerp/instances/trunk/openerp-web/addons/web/common/openerplib/main.py", line 257, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/srv/openerp/instances/trunk/openobject-addons/audittrail/audittrail.py", line 495, in execute_cr
      return fct_src(cr, uid, model, method, *args)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 2089, in fields_view_get
      arch=apply_view_inheritance(cr, user, source, sql_res['id']),
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 2047, in apply_view_inheritance
      source = apply_inheritance_specs(source, view_arch, view_id)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 2032, in apply_inheritance_specs
      raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 1930, in raise_view_error
      %  (child_view.xml_id, self._name, error_msg))
  AttributeError: View definition error for inherited view 'base_contact.view_partner_form_inherit' on model 'res.partner': Element '<xpath expr="//field[@string='Contact Name']">' not found in parent view '%(parent_xml_id)s'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/907487/+subscriptions


References