Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
3133 Prikazi

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
Opusti
Avtor Best Answer

It is only work for one2many field, not many2many field

Any solutions?

Avatar
Opusti
Best Answer

Try this link,

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
15
sep. 21
42070
1
sep. 24
3881
1
feb. 24
2006
0
jul. 24
3064
0
jul. 22
60