Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3154 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

It is only work for one2many field, not many2many field

Any solutions?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Try this link,

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
15
thg 9 21
42131
1
thg 9 24
3906
1
thg 2 24
2035
0
thg 7 24
3106
0
thg 7 22
60