i want to pop up a confirm message when changing value of a field.
I will do a function after the user confirm the change too
what should I do?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
i want to pop up a confirm message when changing value of a field.
I will do a function after the user confirm the change too
what should I do?
You use button with confirm attribute, like this:
<button name="cancel_voucher" string="Cancel Voucher" type="object" states="posted" confirm="Are you sure you want to unreconcile this record?"/>
or ... create custom confirm wizard,
or ... use RedirectWarning in method onchange.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up