Odoo Help


This community 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.


how to pop up a confirm message when change value?

willie ho
on 6/8/15, 6:17 AM 409 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?



| 5 4 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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