Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3114 Представления

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
10254
3
мар. 22
26245
0
авг. 24
44
1
янв. 22
5160
2
июл. 24
14093