Skip to Content
Menu
This question has been flagged
2 Replies
11919 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
6244
1
gruod. 19
9666
4
saus. 19
9288
1
saus. 19
6300
2
liep. 18
14490