تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3117 أدوات العرض

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
3
أكتوبر 22
10258
3
مارس 22
26245
0
أغسطس 24
44
1
يناير 22
5160
2
يوليو 24
14093