magentoerpconnect-community team mailing list archive
-
magentoerpconnect-community team
-
Mailing list archive
-
Message #00103
Error: export catalog OpenERP/Magento
Hi,
When I try to export my catalog from OpenERP to Magento, I have an error :
Traceback (most recent call last):
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line
489, in dispatch
result = ExportService.getService(service_name).dispatch(method,
auth, params)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py",
line 599, in dispatch
res = fn(db, uid, *params)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line
122, in wrapper
return f(self, dbname, *args, **kwargs)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line
176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line
167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/extra-6.0/base_sale_multichannels/sale.py",
line 156, in export_catalog
self.export_inventory(cr, uid, ids, context)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/extra-6.0/base_sale_multichannels/sale.py",
line 173, in export_inventory
res = self.pool.get('product.product').export_inventory(cr, uid,
product_ids, '', context)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server/extra-6.0/magentoerpconnect/product.py",
line 1046, in export_inventory
stock_id = self.pool.get('sale.shop').browse(cr, uid,
context['shop_id']).warehouse_id.lot_stock_id.id
AttributeError: 'NoneType' object has no attribute 'id
Now, when I choose a warehouse and retry, I have this :
No external id found, are you sure that the referential are
synchronized? Please contact your administrator. (more information in
magentoerpconnect/sale.py).
Do you have any ideas ?
I'm working on Magento 1.5 and OpenERP 6.0.2
Best,
Attachment:
signature.asc
Description: OpenPGP digital signature