← Back to team overview

credativ team mailing list archive

[Bug 907487] Re: base_contact inherit error

 

Hello DR Fedinand,

I have trace your issue, But I think you might have mistake your end
side.

Your code is correct, but I think you have used a different directory for this code.
You have put your code on stable-6, and in stable-6 there is contact name string not available. 

I have checked that in trunk server's res_partner_view xml line no 349.
Would you please check this file and you have to see the "Contact name" string there.

So this problem comes due to your mistake.
Correct me If I am wrong!

That's why I am closing this issue.

Thank you!

** Changed in: openobject-addons
       Status: New => Invalid

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, 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