Comment 2 for bug 495381

Revision history for this message
Salvador Sierra (salvador-sierra) wrote :

Hi,

I updated the module and now I do not get the same error, but this is what I get:

Environment Information :
System : Darwin-9.8.0-i386-32bit
OS Name : posix
Your System is not lsb compliant
Operating System Release : 9.8.0
Operating System Version : Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386
Operating System Architecture : 32bit
Operating System Locale : NOT SET
Python Version : 2.5.1
OpenERP-Client Version : 5.0.6
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 244, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 73, in __call__
    return getattr(self, method)(*params)
  File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 583, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 61, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 120, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 112, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/magentoerpconnect/magerp_core.py", line 70, in sync_categs
    self.pool.get('product.category').record_entire_tree(cr, uid, inst.id, pro_cat_conn, categ_tree, DEBUG)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/magentoerpconnect/product.py", line 107, in record_entire_tree
    def record_entire_tree(self, cr, uid, id, conn, categ_tree, DEBUG=False):
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/magentoerpconnect/product.py", line 116, in record_category
    imp_vals = conn.call('category.info', [category_id])
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/base_external_referentials/external_osv.py", line 162, in ext_import
    if self.write(cr, uid, existing_rec_id, vals, context):
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/magentoerpconnect/product.py", line 104, in write
    vals['magerp_stamp'] = time.strftime('%Y-%m-%d %H:%M:%S')
  File "/usr/lib/python2.5/site-packages/openerp-server/osv/orm.py", line 2427, in write
    fobj = self._inherit_fields[field][2]
KeyError: 'magento_exportable'

Also after the update I can't access the products, so I guess this could be another issue with the last revision.

This is the error message I get when I try to access to products:

Can't find field 'magento_exportable' in the following view parts composing the view of object model 'product.product':
 * product.normal.form_magerp

Either you wrongly customised this view, or some modules bringing those views are not compatible with your current data model