OpenERP Magento integration error while trying to import websites

I installed OpenERP 7 and Magento 1.7. One of my tasks is to deploy a connector between them. I installed OpenLab OpenLP Open Connector for Magento and installed the magento-integration module for OpenERP here ( https://github.com/openlabs/magento-integration ).

The "Test Connection" function works fine. After I click Import Websites , the stack trace is shown in a popup window:

 Client Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, **self.params) ... File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 861, in _get_id raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id)) ValueError: No such external ID currently defined in the system: magento_integration.instance_website_tree_view 

I am not familiar with OpenERP (and python), so my question is: what is ValueError: No such external ID currently defined in the system: magento_integration.instance_website_tree_view and how to fix it?

Thanks in advance.

+4
source share
2 answers

This error is shown because the Xml id-instance_website_tree_view is not defined in the magento_integration module

but some where it is used as a reference.

0
source

I ran into this exact problem, and the only solution I could find was to rename the module directory from magento_integration-develop/ to magento_integration/ . I don’t know if this fixes all these problems, but it no longer returns this error, and this is from the developer on github.

https://github.com/openlabs/magento_integration/issues/87

0
source

Source: https://habr.com/ru/post/1491660/


All Articles