Odoo Help

Welcome!

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.

0

how to pop up a confirm message when change value?

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

1

zbik

--zbik--
5941
| 6 4 7
Lodz, Poland
--zbik--


zbik
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)

Stats

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