跳至内容
菜单
此问题已终结
2 回复
3143 查看

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
42095
1
9月 24
3891
1
2月 24
2013
0
7月 24
3068
0
7月 22
60