且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在python控制台中运行Odoo ORM方法?

更新时间:2023-01-28 07:43:35

在版本9中,您可以使用 odoo.py shell启动odoo shell -d< database> ,感谢此提交

In version 9 you can start an odoo shell with odoo.py shell -d <database>, thanks to this commit

在版本8中,功能不是内置的,但您可以使用此脚本此模块 OERPLib

In version 8 the functionality is not builtin but you can use this script, this module, or OERPLib