Skip to Content
Menu
This question has been flagged
2 Replies
3118 Zobrazenia

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
Zrušiť
Autor Best Answer

It is only work for one2many field, not many2many field

Any solutions?

Avatar
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
15
sep 21
42037
1
sep 24
3867
1
feb 24
1973
0
júl 24
3019
0
júl 22
60