Odoo 获取对象信息

2018-01-08 849点热度 0人点赞 0条评论

进入shell模式

python source\odoo-bin shell -c config.conf

查看对象属性

dir(self.env.user)
help(self.env.user)

Jalena

原创内容,转载请注明出处! 部分内容来自网络,请遵守法律适用!

文章评论