Comment 2 for bug 1010984

Revision history for this message
Marie-Noelle Iltis (mniltis) wrote : Re: Error external_report_id.external_referential_id.type_id.name

Hello,

Connector module 6.1 with variant configurator seems to work quite fine. Product template and variant are OK but I can't create "normal" products nor change existing one.

Issue seems to be an inherited view linked to Magento_sku_is_code and <field name="inherit_id" ref="magentoerpconnect.product_product_form_view_magerp"/>.

I don't have enough experience on OpenERP for the moment to solve this issue by myself and would appreciate any help that could help to solve this issue.

Server Traceback (most recent call last):
  File "/opt/openerp/server/openerp/addons/web/common/http.py", line 592, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openerp/server/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/server/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/server/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openerp/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/server/openerp/addons/magentoerpconnect/product.py", line 971, in fields_view_get
    cr, uid, view_id,view_type,context,toolbar=toolbar)
  File "/opt/openerp/server/openerp/addons/stock/product.py", line 408, in fields_view_get
    res = super(product_product,self).fields_view_get(cr, uid, view_id, view_type, context, toolbar=toolbar, submenu=submenu)
  File "/opt/openerp/server/openerp/osv/orm.py", line 2128, in fields_view_get
    arch=apply_view_inheritance(cr, user, source, sql_res['id']),
  File "/opt/openerp/server/openerp/osv/orm.py", line 2087, in apply_view_inheritance
    source = apply_view_inheritance(cr, user, source, view_id)
  File "/opt/openerp/server/openerp/osv/orm.py", line 2086, in apply_view_inheritance
    source = apply_inheritance_specs(source, view_arch, view_id)
  File "/opt/openerp/server/openerp/osv/orm.py", line 2071, in apply_inheritance_specs
    raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
  File "/opt/openerp/server/openerp/osv/orm.py", line 1969, in raise_view_error
    % (child_view.xml_id, self._name, error_msg))
AttributeError: View definition error for inherited view 'magento_sku_is_code.product_product_form_view_magerp_sku' on model 'product.product': Element '<field name="magento_sku">' not found in parent view '%(parent_xml_id)s

Thanks and best regards
Marie