Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
3132 Vues

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
Ignorer
Auteur Meilleure réponse

It is only work for one2many field, not many2many field

Any solutions?

Avatar
Ignorer
Meilleure réponse

Try this link,

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
15
sept. 21
42070
1
sept. 24
3881
1
févr. 24
2006
0
juil. 24
3063
0
juil. 22
60