Skip to Content
Menu
This question has been flagged
2 Replies
3195 Rodiniai

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}" >


Portretas
Atmesti
Autorius Best Answer

It is only work for one2many field, not many2many field

Any solutions?

Portretas
Atmesti
Best Answer

Try this link,

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
15
rugs. 21
42183
1
rugs. 24
3937
1
vas. 24
2066
0
liep. 24
3127
0
liep. 22
60