Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
想通过web界面添加选择下拉框,尝试了很久,终于试出来了。分享出来,不让和我一样不懂python的人再苦恼了。首先,我建立对象1,里面包含字段A(x_a),然后我建立对象2,里面字段为AA(x_a_id)(many2one,对象1),将AA中的,widget选择为:selection。这样,打开页面后,AA就成了选择下拉框的形式了
哦. 字段为many2one 然后设置 widget 为 selection 就好了呀...呵呵. 学习了. 谢谢分享... 赞.... 建议你为贴子打上标签, 以便让更多的人能检索到.
谢谢分享