I need a widget many2many (or one2many) with disabled 'Add an item' but NOT READONLY!
Not readonly because I need manipulate sequences by drag and drop. How to do it?
Thanks in advance with the help 
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
I need a widget many2many (or one2many) with disabled 'Add an item' but NOT READONLY!
Not readonly because I need manipulate sequences by drag and drop. How to do it?
Thanks in advance with the help 
Try to disable it in the tree view. Like this:
<tree create="false"> 
    <!-- Fields -->
</tree>
The create="false" attribute will hide the "Add an item" action on the one2many / many2many view.
Thank Andre for your very helpful suggestion. Below full solution:
I replace:
 <field name="route_new_ids" widget="many2many" domain="[('product_id','=',id)]"/>by:
 <field name="route_new_ids" domain="[('product_id','=',id)]" context="{'from_product': True}">
<tree create="false" delete="false">
  <field name="sequence" widget="handle"/>
  <field name="route_id"/>
</tree>
</field>       context="{'from_product': True}" allows to disable, after click on list position, in form view, editions other fields than sequence
Great! Glad I could help
options="{'no_create_edit': True}"
specify this in your many2many field,
<field name="your_field" widget="many2many_tags" options="{'no_create_edit': True}"/>
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|  | 1 Sept. 25  | 1610 | ||
|  | 2 Jan. 23  | 5325 | ||
|  | 0 Aug. 23  | 1809 | ||
|  | 1 Apr. 16  | 4823 | ||
|  | 1 Juli 24  | 2819 |