Skip to Content
Menu
This question has been flagged
2 Replies
11899 Zobrazenia

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

Avatar
Zrušiť
Best Answer
I want to do this but only if a condition is met, that is, when the condition is met, the delete icon is removed.


Avatar
Zrušiť

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

Related Posts Replies Zobrazenia Aktivita
5
sep 20
6239
1
dec 19
9662
4
jan 19
9275
1
jan 19
6282
2
júl 18
14475