去除Many2one字段的“创建并编辑”选项
要去除Many2one字段的“创建并编辑”选项,只要在view.xml里对应的field定义里增加options="{'no_create_edit':1}即可
<field name="pay_bank_id" options="{'no_create_edit': 1}" />

转载请注来源:https://github.com/fugui0310
要去除Many2one字段的“创建并编辑”选项,只要在view.xml里对应的field定义里增加options="{'no_create_edit':1}即可
<field name="pay_bank_id" options="{'no_create_edit': 1}" />
