Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

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.

Avatar
Hylkää
Tekijä

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

Tekijä

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
lokak. 22
10352
3
maalisk. 22
26302
0
elok. 24
44
1
tammik. 22
5229
2
heinäk. 24
14159