Skip to Content
Menu
This question has been flagged
6 Replies
3038 Views

Hi Community,

I installed the module "connector-magento" (OCA) in odoo 10 and currently I can synchronize data from magento to odoo.

My next step, is mapping of magento custom attributes (like manufacturer) in order to use them in odoo.

For the moment, I can get the manufacturer attribute from magento to odoo but in database I have the id of manufacturer for a product and not his value.

I use this tutorial for the mapping : http://odoo-magento-connector.com/guides/tutorial_customize.html 

Someone can help me to get the value of this id ? 

Thanks 

Cordially


Avatar
Discard
Best Answer

Hi Toto,

Great One! I was having same set of requirement, though i had perform search to product.attribute.value with attribute_id & name to get value id.
Hope this would help you.

Avatar
Discard
Best Answer

You can try our Magento Odoo bridge custom attribute addon 
https://store.webkul.com/Magneto-Custom-attribute-openerp-bridge.html

Note: This is dependent on Magento Odoo bridge

Avatar
Discard
Author Best Answer

Hi Sushma

Thanks for your answer.
Where have you perform search? On magento or Odoo?
Do you have some examples for us? 
Have you got a GitHub with this changes? Or could you explain to us how to do that? 
I'm beginner on odoo development. :)


Thanks a lot

Avatar
Discard

Hi,

You can perform search on both either magento or odoo, but for better performance I believe you should perform at odoo

Author

Hi,

Ok but how to do that ?

Thanks

You need to one custom method there you can perform search to product.attribute.value, call this method from magento with list of attribute and it's values.

Though you're beginner at odoo then check with same connector module how it's calling any odoo methods, then afterwards you can write your own custom methods.

Thanks