Odoo Help

0

how to pop up a confirm message when change value?

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

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.

Register

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)

Stats

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