Skip to Content
Menú
This question has been flagged
2 Respostes
11874 Vistes

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
Descartar
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
Descartar

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

Related Posts Respostes Vistes Activitat
5
de set. 20
6230
1
de des. 19
9654
4
de gen. 19
9251
1
de gen. 19
6265
2
de jul. 18
14438