Skip to Content
Menu
This question has been flagged
3 Replies
3177 Rodiniai

Hi!


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

Portretas
Atmesti

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

Best Answer

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}"/>
Portretas
Atmesti
Autorius

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