← Back to team overview

openerp-connector-community team mailing list archive

module for product mapping on default_code / sku

 

Hello,

I'm trying to create an extra module that implements binding to existing products in OpenERP based on the products default_code.

So based on what i saw in the example code, i created a module doing only this:

http://gitlab.apertoso.be/jos/connector_modules/tree/master/connector_magento_product_bind_ref

However, after install, i get the following error:

AssertionError: Several classes found for <class 'openerp.addons.connector.unit.mapper.ImportMapper'> with session <Session db_name: mooddesign, uid: 1>, model name: magento.product.product. Found: set([<class 'openerp.addons.magentoerpconnect.product.ProductImportMapper'>, <class 'openerp.addons.connector_magento_product_bind_ref.product.MyProductImportMapper'>])

What am i doing wrong ?

Tnx
Jos



Jos De Graeve

Apertoso business ICT - http://www.apertoso.be/
Guido Gezellelaan 16 - B-9800 Deinze - Belgium

Direct: +32 9 381 64 51
General:+32 9 381 64 50
Mobile: +32 475 54 68 80
mail/im/skype: Jos.DeGraeve@xxxxxxxxxxx - apertoso

Follow ups