Issue with Product categories mapping from Magento to OpenErp: ProductImportMapper

Bug #1359708 reported by Nicolas AUCOURT
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Connector - Magento
Invalid
Undecided
Unassigned

Bug Description

Hi,

My problem is that the assignment of product categories ig not working like I want.

Example:

In Magento, we have products assigned to several categories:

Root cat > Cat 1 > Cat 2 where Cat 2 is a child of Cat 1 and Cat 2 a child of Root Cat.

After an import of categories and products through the connector, we have the following problem:

We can only see products in OpenErpin the Root Category (Default) but if we go to child categs, no products are displayed at all.

It is not very convenient because we cannot use the basic yfilters of OpenErp to display products of a given category...

We had a look at this file:
magentoerpconnect/product.py

Doc is here: http://openerp-magento-connector.com/_modules/openerp/addons/magentoerpconnect/product.html#ProductImportMapper

I found a method called "categories" which seems to handle the mapping of the categories for each product record.

I don't know the python language very well, so please can you tell me how to fix this bug ?

If it is not a bug, what would be the code to do what I need? In this case, can you confirm that I would have to create a custom module like here: http://openerp-magento-connector.com/guides/tutorial_customize.html ?

Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) wrote :

Hi,

Please use this bug tracker: https://github.com/OCA/connector-magento/issues
Because this project's management has been moved on GitHub.

This is not an issue of the connector, but a limitation of OpenERP: products have only 1 category.
What I can suggest you is to add new filters on the new field "categories" or to modify the existing filters to search in the main category AND in the other categories as well.

Changed in openerp-connector-magento:
status: New → Invalid
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.