Export OpenERP products with a BOM as Magento "grouped products"

Registered by Raphaël Valyi - http://www.akretion.com

products with a bill of material in OpenERP should be exported as "grouped products" in Magento.
The components of grouped products are exported too and linked to the grouped product.
The import of grouped products from Magento is not supposed to be dealt with as this is not a common workflow.

Blueprint information

Status:
Complete
Approver:
Raphaël Valyi - http://www.akretion.com
Priority:
Undefined
Drafter:
Nicolas Bessi - Camptocamp
Direction:
Needs approval
Assignee:
Vianney - www.akretion.com.br
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Raphaël Valyi - http://www.akretion.com
Completed by
Raphaël Valyi - http://www.akretion.com

Related branches

Sprints

Whiteboard

a big thanks to CampToCamp for funding this open source development (estimated to 3.25 days on our side).

Details:
================

products with a BOM are flagged as 'grouped products' in OpenERP when they are exported. They are exported as 'grouped' products into Magento.
Their components from the OpenERP related bill of material (the BOM related to the product first found), are uploaded too and are linked to the 'grouped product'
using the "Porduct Link" API: http://www.magentocommerce.com/wiki/doc/webservices-api/api/catalog_product_link
If the BOM of a product is updated, then the related grouped products are updated in Magento (deletion/update/addition).
A product that is not a grouped product or has no BOM can be get a BOM in OpenERP and will then be updated as a 'grouped product' in Magento.

UPDATE:
the mrp dependency has been removed on v6, see explanations in the mailing list archive.

Known limitations:
================

# If there is more than one BoM, it chooses the first one.
# If product is exported to magento as simple then changed to grouped, the price will stay the same so it will be displayed ‘starting at first_price’

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.