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

Hi guys,

I want to set up the following automated action.

- I have a checkbox, if I click the checkbox then I want a field called Account to become blank. (please see http://nimb.ws/YbEUua)

Looking forward to your help in this. I am new to Odoo so please give a detailed answer. Thanks in advance.

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

I have this so far which is not working http://nimb.ws/TGAEP5

most likely due to being new to odoo

If you are looking to make a field invisible based on a check box, you can do it with the help attributes , attrs="{'invisible': [('check_box_field', '=', False)]}"

If you are looking to make the field empty , this will not help

Автор

I either want a message/notification to pop and say something or make the field empty, the empty might not work as the field is also required.

How can I pop a message with any text in it, I tried raising a warning but that prohibits from saving as its generating an error

Related Posts Відповіді Переглядів Дія
3
жовт. 22
10255
3
бер. 22
26245
0
серп. 24
44
1
січ. 22
5160
2
лип. 24
14093