Skip to Content
Menu
This question has been flagged
2 Replies
12113 Rodiniai

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

Portretas
Atmesti
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.


Portretas
Atmesti

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

Related Posts Replies Rodiniai Veikla
5
rugs. 20
6399
1
gruod. 19
9800
4
saus. 19
9505
1
saus. 19
6447
2
liep. 18
14629