[future_trunk] import images broken

Bug #995350 reported by Kyle Waid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magento OpenERP Connector
Fix Released
Undecided
gekko tek

Bug Description

Traceback (most recent call last):
  File "/usr/local/openerp/openerp-server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/openerp/openerp-server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/openerp/openerp-server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/openerp/addons/magentoerpconnect/magerp_core.py", line 257, in sync_images
    product_obj.import_product_image(import_cr, uid, product_id, referential.id, conn, context=context)
  File "/usr/local/openerp/addons/magentoerpconnect/product.py", line 1080, in import_product_image
    ext_id = self.oeid_to_extid(cr, uid, id, referential_id, context=None)
  File "/usr/local/openerp/addons/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-06 05:08:31,558 30813 ERROR ? openerp.netsvc: 'int' object has no attribute 'referential_id'

Related branches

Kyle Waid (midwest)
Changed in magentoerpconnect:
assignee: nobody → gekko tek (gekkotek)
Changed in magentoerpconnect:
status: New → Confirmed
status: Confirmed → In Progress
Revision history for this message
Sébastien BEAU - http://www.akretion.com (sebastien.beau) wrote :

I fix it on rev 638.
Thanks your report

Changed in magentoerpconnect:
status: In Progress → Fix Released
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.