On Import Images (Magento) : AttributeError: 'int' object has no attribute 'referential_id'

Bug #993872 reported by Romain Deheele - Camptocamp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenObject Extension
New
Undecided
Unassigned

Bug Description

Hello,
with lp:~magentoerpconnect-core-editors/magentoerpconnect/futur-trunk
and lp:e-commerce-addons
and this current branch,

I have this traceback on "7 - Import Images":
I work on 6.1...and a Magento 1.6.2.0

2012-05-03 10:18:00,502 4388 ERROR ? openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
  File "/home/romain/server6.1/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/romain/server6.1/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/romain/server6.1/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/romain/magentoerpconnect-futuretrunk/magentoerpconnect/magerp_core.py", line 258, in sync_images
    product_obj.import_product_image(import_cr, uid, product_id, referential.id, conn, context=context)
  File "/home/romain/magentoerpconnect-futuretrunk/magentoerpconnect/product.py", line 1079, in import_product_image
    ext_id = self.oeid_to_extid(cr, uid, referential_id, id,context=None)
  File "/home/romain/openobject-extension/base_external_referentials/external_osv.py", line 159, in get_or_create_extid
    res = self.get_extid(cr, uid, openerp_id, external_session.referential_id.id, context=context)
AttributeError: 'int' object has no attribute 'referential_id'
2012-05-03 10:18:00,553 4388 ERROR ? openerp.netsvc: 'int' object has no attribute 'referential_id'

Romain

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.