Community mailing list archives

community@mail.odoo.com

Re: migrating magentoerpconnect

by
h.tamo
- 10/29/2015 21:26:26
Hi,

Thanks for your answer Guewen.

In the v6.1 of connector res_partner object does not have magento_id field or equivalent (unless I am mistaken) so i don't have this data to fill the magento_res_partner table magento_id field. How can i handle that ?

Same apply for other models which does not have magento_id field before

Thanks,

2015-10-29 13:23 GMT+01:00 Guewen Baconnier <guewen.baconnier@camptocamp.com>:
On Thu, Oct 29, 2015 at 12:57 PM, Harold Tamo <h.tamo@cloudfacile.com> wrote:
I Finally made the migration following those steps :

-uninstall magentoerpconnect and his dependencies from the v7 database.
-clean the v7 database by removing tables left by magentoerpconnect
-run the migration script of openupgrade
-fix bugs
-install the odoo 8 version of connector on the db
-synchronize with magento

Now my problem is to reestablish the connection between orders, products, partners migrated from v7 to v8 and those which are in magento site to avoid duplicated items in the database.

I found that in v8, the connector link item(magento-odoo) with an intermediary table : magento_table_name.

So I'm writing some sql scripts to fill those table so the connector will know that those items are already imported and won't try to synchronize them again.

is it the good way ?
is there any better solution ?

regards,


That's a good way to do it.

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--