跳至内容
菜单
此问题已终结
3 回复
3138 查看

Hi!


Is it possible to disable Create and/or Edit for Many2xx fields?

形象
丢弃

options="{'no_quick_create':True,'no_create_edit':True,'no_open':True}"

最佳答案

you can pass no_create, no_edit option in XML to remove create edit feature respectively  

<field name="template_id" options="{'no_create': True, 'no_edit': True}"/>
形象
丢弃
编写者

Thank you also Ravi, this option was exacly what I was looking for :)