← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 734945] Re: Export single product produces error

 

** Changed in: magentoerpconnect
       Status: New => Invalid

-- 
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/734945

Title:
  Export single product produces error

Status in Magento OpenERP Connector:
  Invalid

Bug description:
  2011-03-11 15:30:08,473][development] ERROR:web-services:Uncaught exception
  Traceback (most recent call last):
   File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
     return f(self, dbname, *args, **kwargs)
   File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
     res = self.execute_cr(cr, uid, obj, method, *args, **kw)
   File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
     return getattr(object, method)(cr, uid, *args, **kw)
   File "/opt/openerp/addons/base_sale_multichannels/wizard/export_product.py", line 60, in export_pr
     return self.export(cr, uid, id, 'export_product', context)
   File "/opt/openerp/addons/base_sale_multichannels/wizard/export_product.py", line 50, in export
     sale_shop_obj.export_products(cr, uid, shop, context)
   File "/opt/openerp/addons/base_sale_multichannels/sale.py", line 139, in export_products
     self.export_products_collection(cr, uid, shop, context)
   File "/opt/openerp/addons/base_sale_multichannels/sale.py", line 136, in export_products_collectio
     self.pool.get('product.product').ext_export(cr, uid, product_to_export, [shop.referential_id.id]
   File "/opt/openerp/addons/magentoerpconnect/product.py", line 941, in ext_export
     if cr.fetchone() and 'mrp' in data_record and data_record['mrp']:
  NameError: global name 'data_record' is not defined

  Was told this was due to a recent commit regarding grouped products

To manage notifications about this bug go to:
https://bugs.launchpad.net/magentoerpconnect/+bug/734945/+subscriptions


References