Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
11910 Visninger

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
Kassér
Bedste svar
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
Kassér

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

Related Posts Besvarelser Visninger Aktivitet
5
sep. 20
6242
1
dec. 19
9664
4
jan. 19
9285
1
jan. 19
6293
2
jul. 18
14484