[6.1-module] Error external_report_id.external_referential_id.type_id.name

Bug #1010984 reported by Josef Tesar
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Magento OpenERP Connector
Sébastien BEAU - http://www.akretion.com

Bug Description

Fresh install openerp 6.1 Night Version 08.06.2012 with the new Magentoerpconnector for 6.1 and all new Modules ...

Install this Module from:
bzr branch lp:magentoerpconnect/openerp6.1-module
bzr branch lp:e-commerce-addons/openerp6.1-module
bzr branch lp:openobject-extension/openerp6.1-module
bzr branch lp:product-extra-addons/openerp6.1-module

Install ok no failed Addons ... but
I klick Reporting is Error:
raise ValueError("Invalid field %r in domain expression %r" % (left, exp))
ValueError: Invalid field 'external_report_id.external_referential_id.type_id.name' in domain expression [('external_report_id.external_referential_id.type_id.name', 'like', 'Magento')]

I klick Product is 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

Upgrade on second server with old magentoconnector to new magentoconnector failed with erros and downgrade to old connector failed with errors ... help, please help

Revision history for this message
Marie-Noelle Iltis (mniltis) wrote :


Have the same issue. I did a step by step installation and checked the product creation.
The issue occurs after "magento_sku_is_code" installation.

I unstinstalled and installed magento_product_auto_sku and there is not error when clicking on create product.

Could someone advice if magento_sku_is_code can still be used with openerp6.1-module?



Revision history for this message
Marie-Noelle Iltis (mniltis) wrote :


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

Revision history for this message
Paul Catinean (wiz-keed) wrote :

I am having the exact same problems, and there is also a repost on this bug but no one has the time to give a simple solution to this problem...

summary: - Error external_report_id.external_referential_id.type_id.name
+ [6.1-module] Error
+ external_report_id.external_referential_id.type_id.name
tags: added: 6.1-module
Changed in magentoerpconnect:
assignee: nobody → Sébastien BEAU - http://www.akretion.com (sebastien.beau)
Changed in magentoerpconnect:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers