Odoo Help


Display confirm dialog under a certain condition

on 5/21/14, 9:47 AM 1,235 views

Hi All,

I'm looking for something very desperately. I want to show some warning message on a confirm dialog box, from my python code under a certain condition. The confirm dialog will have OK and Cancel buttons. On clicking Cancel, it won't allow to proceed/validate further but on OK it'll do the usual thing.

Please help me on this. Any help woul be appreciated. 

NOTE: I've tried with some warning moule suggested in this forum, but that didn't work for me in write() function.


ASP :)

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: 5/21/14, 9:47 AM
Seen: 1235 times
Last updated: 3/16/15, 8:10 AM