← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 727167] [NEW] Export Categories - Attribute "include_in_menu" is required.

 

Public bug reported:

Problem occurs when exporting a category made in OpenERP to Magento.

Full error report:

Environment Information : 
System : Linux-2.6.32-28-generic-x86_64-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.2 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-28-generic
Operating System Version : #55-Ubuntu SMP Mon Jan 10 23:42:43 UTC 2011
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/addons/base_sale_multichannels/sale.py", line 146, in export_catalog
    self.export_categories(cr, uid, shop, context)
  File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/addons/base_sale_multichannels/sale.py", line 132, in export_categories
    self.pool.get('product.category').ext_export(cr, uid, [categ_id for categ_id in categories], [shop.referential_id.id], {}, context)
  File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/addons/openerp6-module-updates/product.py", line 131, in ext_export
    res = super(product_category, self).ext_export(cr, uid, ids, external_referential_ids, defaults, context)
  File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/addons/base_external_referentials/external_osv.py", line 342, in ext_export
    crid = self.ext_create(cr, uid, exp_data, conn, mapping_rec['external_create_method'], record_data['id'], context)
  File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/addons/openerp6-module-updates/product.py", line 40, in ext_create
    return conn.call(method, [data.get('parent_id', 1), data])
  File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/addons/openerp6-module-updates/magerp_osv.py", line 53, in call
    res = self.ser.call(self.session, method, arguments)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])
Fault: <Fault 103: 'Attribute "include_in_menu" is required.'>

** Affects: magentoerpconnect
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/727167

Title:
  Export Categories - Attribute "include_in_menu" is required.

Status in Magento Open ERP Connector:
  New

Bug description:
  Problem occurs when exporting a category made in OpenERP to Magento.

  Full error report:

  Environment Information : 
  System : Linux-2.6.32-28-generic-x86_64-with-Ubuntu-10.04-lucid
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 10.04.2 LTS
  Release:	10.04
  Codename:	lucid
  Operating System Release : 2.6.32-28-generic
  Operating System Version : #55-Ubuntu SMP Mon Jan 10 23:42:43 UTC 2011
  Operating System Architecture : 64bit
  Operating System Locale : en_US.UTF8
  Python Version : 2.6.5
  OpenERP-Client Version : 6.0.1
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/addons/base_sale_multichannels/sale.py", line 146, in export_catalog
      self.export_categories(cr, uid, shop, context)
    File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/addons/base_sale_multichannels/sale.py", line 132, in export_categories
      self.pool.get('product.category').ext_export(cr, uid, [categ_id for categ_id in categories], [shop.referential_id.id], {}, context)
    File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/addons/openerp6-module-updates/product.py", line 131, in ext_export
      res = super(product_category, self).ext_export(cr, uid, ids, external_referential_ids, defaults, context)
    File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/addons/base_external_referentials/external_osv.py", line 342, in ext_export
      crid = self.ext_create(cr, uid, exp_data, conn, mapping_rec['external_create_method'], record_data['id'], context)
    File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/addons/openerp6-module-updates/product.py", line 40, in ext_create
      return conn.call(method, [data.get('parent_id', 1), data])
    File "/home/openerp/openerp-server/magento/openerp-server-6.0.1/bin/addons/openerp6-module-updates/magerp_osv.py", line 53, in call
      res = self.ser.call(self.session, method, arguments)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
      return self.__send(self.__name, args)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
      verbose=self.__verbose
    File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
      return self._parse_response(h.getfile(), sock)
    File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
      return u.close()
    File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
      raise Fault(**self._stack[0])
  Fault: <Fault 103: 'Attribute "include_in_menu" is required.'>



Follow ups

References