Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
11898 Переглядів

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

Аватар
Відмінити
Найкраща відповідь
I want to do this but only if a condition is met, that is, when the condition is met, the delete icon is removed.


Аватар
Відмінити

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

Related Posts Відповіді Переглядів Дія
5
вер. 20
6239
1
груд. 19
9662
4
січ. 19
9275
1
січ. 19
6282
2
лип. 18
14475