コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3144 ビュー

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
42110
1
9月 24
3895
1
2月 24
2018
0
7月 24
3080
0
7月 22
60