How can I get a confirm box when changing a record field, for example changing a boolean?
I know you can make a button with a confirm attribute, but this is not the same.
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How can I get a confirm box when changing a record field, for example changing a boolean?
I know you can make a button with a confirm attribute, but this is not the same.
Thanks
Hi,
make an onchange function for this field.
In this onchnage function return a wizard. You need to develop your own confirmation wizard, since there is no default one for changing fields.
In that wizard add 2 buttons 'Yes', 'No', and a text like 'Are you sure'.
If 'yes' is pressed, do nothing. If 'no' is pressed, make the field for the initial state.
Hope, that helps
Thanks, I will look into making a wizard
Display confirmation box
https://goo.gl/qhWNZJ
Please read the question. I'm not talking about creating a button.
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
0
de febr. 25
|
1427 | ||
|
0
de gen. 25
|
1196 | ||
Field service upgrade
Solved
|
|
1
de des. 24
|
1564 | |
|
1
de juny 22
|
5722 | ||
Field __last_update
Solved
|
|
1
de febr. 19
|
5058 |
Confirmation box in odoo: https://goo.gl/qhWNZJ