Odoo Help


how to pop up a confirm message when change value?

willie ho
on 6/8/15, 6:17 AM 948 views

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?



| 6 5 7
Lodz, Poland

On 6/8/15, 7:29 AM

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/8/15, 6:17 AM
Seen: 948 times
Last updated: 7/6/15, 5:35 AM