Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3098 Vistas

i have tried with delete="0" and options="{'no_delete':1}", not working

i dont want the field become readonly..

i use odoo 8

 ex.

<field name="pettycash_ids" domain="[('branch_id','=',branch_id),('journal_id','=',journal_id),('division','=',division),('state','=','posted'),('amount_real','&gt;',0)]" options="{'no_delete':1}" >


Avatar
Descartar
Autor Mejor respuesta

It is only work for one2many field, not many2many field

Any solutions?

Avatar
Descartar
Mejor respuesta

Try this link,

https://www.odoo.com/forum/help-1/solved-how-to-hide-or-delete-trash-icon-in-one2many-field-144094

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
15
sept 21
41999
1
sept 24
3831
1
feb 24
1955
0
jul 24
2992
0
jul 22
60