Open Field Error in product.variant.template in magentoerpconnect_product_variant

Bug #962007 reported by YannickB (YOLO consulting)
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Magento OpenERP Connector
Confirmed
Undecided
Unassigned

Bug Description

Hi everyone,

When I install magentoerpconnect_product_variant and I try to go to Warehouse/Products/Products Templates , I have the following error :

  File "/var/openerp/openerp6.1/server/openerp/wsgi/core.py", line 79, in xmlrpc_return
    result = openerp.netsvc.dispatch_rpc(service, method, params)
  File "/var/openerp/openerp6.1/server/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/var/openerp/openerp6.1/server/openerp/service/web_services.py", line 572, in dispatch
    res = fn(db, uid, *params)
  File "/var/openerp/openerp6.1/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/var/openerp/openerp6.1/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/var/openerp/openerp6.1/server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/var/openerp/openerp6.1/server/openerp/addons/magentoerpconnect/product.py", line 841, in fields_view_get
    result = super(product_mag_osv, self).fields_view_get(cr, uid, view_id,view_type,context,toolbar=toolbar)
  File "/var/openerp/openerp6.1/server/openerp/osv/orm.py", line 2133, in fields_view_get
    cr, user, context)
  File "/var/openerp/openerp6.1/server/openerp/osv/orm.py", line 1919, in _get_default_search_view
    view_root = etree.fromstring(view['arch'])
  File "lxml.etree.pyx", line 2532, in lxml.etree.fromstring (src/lxml/lxml.etree.c:48634)
  File "parser.pxi", line 1545, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:72245)
  File "parser.pxi", line 1417, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:71041)
  File "parser.pxi", line 898, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:67581)
  File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:64257)
  File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:65178)
  File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64521)
XMLSyntaxError: Attribute string redefined, line 14, column 89

After some research, it looks like the problem come from the

 93 <xpath expr="/form/notebook" position="before">
 94 <group colsan="1">
 95 <button name="open_magento_fields" string="Open Magento Fields" icon="gtk-go-forward" type="object"/>
 96 </group>
 97 </xpath>

in product_view.xml. If I comment theses lines, I have no more problem to open the view.

Unfortunately I wasn't able to correct it by myself.

Revision history for this message
Kyle Waid (midwest) wrote :

I confirm this error

Changed in magentoerpconnect:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.