← Back to team overview

openerp-connector-community team mailing list archive

Re: Initial setup of Odoo-Magento connection

 

Hi,

On Wed, Jul 8, 2015 at 11:05 AM, Peter Vukadinov <p.vukadinov@xxxxxxxxx> wrote:
>  Hello,
>
> I want to get known with Odoo in order to use it with my current Magento
> installation, but I have a problems with initial installation and
> synchronisation.
>
>
>
> On my laptop (Ubuntu) I have installed:
>
> Odoo: 8.0-20150703
> Magento: 1.9.1.0
>
> Following steps from
> http://odoo-magento-connector.com/guides/installation_guide.html I installed
> Magento Connector and MagentoErpConnect.
>
> With magento module installed as described in instructions I got Fault:
> <Fault 3: 'Invalid api path.'> error on the very first step - Synchronize
> Metadata. I checked my Magento installation and the
> Openlabs_OpenERPConnector module was installed and active (this Magento
> installation is with cache switched off).

How did you check if it was active? This module adds API entry points
"ol_websites.list", "ol_groups.list" and "ol_storeviews.list". These
are the methods called in "Synchronize Metadata". If you can't call
these methods with xml/rpc, it means that the module is not active in
Magento.

>
> After that I have installed OpenERPConnector module from Magento Connect in
> version 1.6.1 (stable). With this version I am able to sync metadata, to
> import customers (with strange importing of persons as companies) and to
> import categories.
>
> Now the problem is with import of products:
>
> api.call(ol_catalog_product.info, [1359, None, None, 'id'])  --->  <Fault 3:
> 'Invalid api path.'>

The version on Magento Connect will *not* work. It really has to be
installed from the bzr branch.

>
>
> I did some research in Google and seems that the problem is on Magento part.

Yes, it is Magento that does not find the API provided by
http://bazaar.launchpad.net/~magentoerpconnect-core-editors/magentoerpconnect/module-magento-trunk/files/head:/Openlabs_OpenERPConnector-1.1.0/

>
> I would like to ask which versions of Odoo, OpenERPConnector, Magento
> Connector are proven to work?

On Odoo the best is to take the latest revision on 8.0 as well as for
the Magento module on
https://code.launchpad.net/~magentoerpconnect-core-editors/magentoerpconnect/module-magento-trunk.
AFAIK it is used with Magento 1.7, 1.8 and 1.9.

>
> I don't have experience with Python, but a solid one with PHP and it is not
> a problem to test/debug/fix problems in Magento module :-)
>
> kind regards
> Peter Vukadinov
>
>


References