如何从many2one字段中删除创建和编辑...? [英] How to remove Create and Edit... from many2one field.?
本文介绍了如何从many2one字段中删除创建和编辑...?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请告诉我如何从many2one字段中删除创建和编辑...". 该项目显示在下面的我用域选项过滤的many2one字段中.
Please advice me How to remove "Create and Edit..." from many2one field.? that item shows below in the many2one fields which I filtered with domain option.
OpenERP版本7
OpenERP version 7
推荐答案
我没有太多想法.也许为此,您必须在Web插件中进行更改.
I don't have much idea. Maybe for that you have to make changes in web addons.
但是另一种解决方案是,您可以在 many2one 字段中进行选择.在您的xml中添加widget="selection"
属性.
But an alternative solution is that you can make that many2one field selection. Add widget="selection"
attribute in your xml.
<field name="Your_many2one_field" widget="selection">
这篇关于如何从many2one字段中删除创建和编辑...?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文