Reputation: 21
How to disable the popup adding form when adding a new line in many2many field tree view? Everytime I add a line, it always open a popup form, I just want to add a line directly in tree view only.
I've tried editable="bottom" and editable="top" in tree view but it's not working for me.
Upvotes: 2
Views: 1047
Reputation: 11143
You can try with following option:
widget="many2many_tags"
For example:
<field name="many2many_field_name"
widget="many2many_tags"
options="{'color_field': 'color', 'no_create_edit': True}"
placeholder="XYZ..."/>
EDIT
For the tree view:
widget="one2many_list"
Upvotes: 2