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

Hii,

can the trash icon on one2many fields be deleted / hidden?

what I mean is in the picture here:

https://drive.google.com/file/d/1m8KcuyaUH23LAkLAwNBIQbAPXE9Df-gt/view?usp=sharing

thank you in advance :D

形象
丢弃
最佳答案
I want to do this but only if a condition is met, that is, when the condition is met, the delete icon is removed.


形象
丢弃

Yes use invisible="<condition>" (Odoo v17) else use attrs="{'invisible':[()]"

相关帖文 回复 查看 活动
5
9月 20
5792
1
12月 19
9139
4
1月 19
8667
1
1月 19
5664
2
7月 18
13815