magento - 尝试导入网站时 OpenERP Magento 集成失败

标签 magento python-2.7 magento-1.7 integration openerp

我已经安装了 OpenERP 7 和 Magento 1.7。我的任务之一是在它们之间部署一个连接器。我已将 Openlabs OpenERP 连接器安装到 Magento,并从此处 (https://github.com/openlabs/magento-integration) 将 magento-integration 模块安装到 OpenERP。

“测试连接”功能工作正常。点击Import Websites后,弹出窗口中显示的堆栈跟踪:

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

我不熟悉 OpenERP(和 python),所以我的问题是 ValueError: No such external ID currently defined in the system: magento_integration.instance_website_tree_view 是什么? ,以及如何解决它?

提前致谢。

最佳答案

显示此错误是因为在模块 magento_integration 中没有定义 Xml id-instance_website_tree_view

但有些地方它被用作引用。

关于magento - 尝试导入网站时 OpenERP Magento 集成失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17678348/

相关文章:

php - Magento:如何在我的 Magento 扩展程序中包含 “debug flag”?

python - 查找图像的边缘

python-2.7 - 让 Dedupe 从现有标签数据中学习

python-2.7 - Keras 卷积形状的尺寸无序(检查模型输入时出错)

javascript - 使用内置验证在 Magento 中验证按钮单击/选择

mysql - 从表中获取所有唯一记录

php - 安全使用 Magento 的预配置事件

magento - 如何 'force' Magento只加载一个模板

magento 将结帐付款重定向到第三方网关

magento-1.7 - 如何更改 magento 的 cms 内容包装器