跳至內容
選單
此問題已被標幟
2 回覆
3128 瀏覽次數

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


頭像
捨棄
作者 最佳答案

It is only work for one2many field, not many2many field

Any solutions?

頭像
捨棄
最佳答案

Try this link,

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
15
9月 21
42057
1
9月 24
3875
1
2月 24
1999
0
7月 24
3031
0
7月 22
60