Odoo 10 - 如何在 __manifest__ 中包含 Python 包依赖

Odoo 10 - How to include Python package dependency in __manifest__

如果新的 Odoo 模块需要给定的 Python 包,是否需要或建议将该依赖项作为外部依赖项包含在 manifest.py 中?

如果有,具体是如何引用的?

您可以在模块的 manifest 文件中添加 external_dependencies,如下所示:

"external_dependencies": {"python": [name of library/python package,..]},

更多信息:See here