Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 10 22
10353
3
thg 3 22
26308
0
thg 8 24
44
1
thg 1 22
5231
2
thg 7 24
14163